comparison src/gl2ps-renderer.h @ 12361:a950bfb7b8e8 release-3-4-x

gl-renderer.cc and gl2ps-renderer.cc: access objects directly from gh_manager instead of working with handles
author John W. Eaton <jwe@octave.org>
date Tue, 01 Feb 2011 16:25:15 -0500
parents 523c5bcc1a76
children 72c96de7a403
comparison
equal deleted inserted replaced
12360:523c5bcc1a76 12361:a950bfb7b8e8
34 glps_renderer (const int _fid, const std::string& _term) 34 glps_renderer (const int _fid, const std::string& _term)
35 : opengl_renderer () , fid (_fid), term (_term), 35 : opengl_renderer () , fid (_fid), term (_term),
36 fontsize (), fontname () { } 36 fontsize (), fontname () { }
37 37
38 ~glps_renderer (void) { } 38 ~glps_renderer (void) { }
39
40 void draw (const graphics_handle& h)
41 {
42 draw (gh_manager::get_object (h));
43 }
44 39
45 void draw (const graphics_object& go); 40 void draw (const graphics_object& go);
46 41
47 protected: 42 protected:
48 43