comparison src/graphics.h.in @ 7869:e6d5532f760e

style fixes
author John W. Eaton <jwe@octave.org>
date Thu, 05 Jun 2008 01:06:29 -0400
parents b74039822fd2
children b1823dfd6ec7
comparison
equal deleted inserted replaced
7868:1b85fcb94c6a 7869:e6d5532f760e
2292 { 2292 {
2293 std::string nm = val.string_value (); 2293 std::string nm = val.string_value ();
2294 graphics_backend b = graphics_backend::find_backend (nm); 2294 graphics_backend b = graphics_backend::find_backend (nm);
2295 if (b.get_name () != nm) 2295 if (b.get_name () != nm)
2296 { 2296 {
2297 error ("figure::__backend__ : illegal backend"); 2297 error ("set___backend__: invalid backend");
2298 } 2298 }
2299 else 2299 else
2300 { 2300 {
2301 set_backend (b); 2301 set_backend (b);
2302 mark_modified (); 2302 mark_modified ();
2303 } 2303 }
2304 } 2304 }
2305 else 2305 else
2306 error ("__backend__ must be a string"); 2306 error ("set___backend__ must be a string");
2307 } 2307 }
2308 } 2308 }
2309 2309
2310 Matrix get_boundingbox (bool internal = false) const; 2310 Matrix get_boundingbox (bool internal = false) const;
2311 2311