Mercurial > hg > octave-lyh
diff src/gl-render.h @ 9798:2d6a5af744b6
printing for fltk backend using gl2ps
author | Shai Ayal <shaiay@users.sourceforge.net> |
---|---|
date | Tue, 10 Nov 2009 19:48:02 -0500 |
parents | 73153525df9a |
children | 92d8f35ff217 |
line wrap: on
line diff
--- a/src/gl-render.h +++ b/src/gl-render.h @@ -72,14 +72,14 @@ virtual void set_viewport (int w, int h); protected: - virtual void draw (const figure::properties& props); - virtual void draw (const axes::properties& props); - virtual void draw (const line::properties& props); - virtual void draw (const surface::properties& props); - virtual void draw (const patch::properties& props); - virtual void draw (const hggroup::properties& props); - virtual void draw (const text::properties& props); - virtual void draw (const image::properties& props); + virtual void draw_figure (const figure::properties& props); + virtual void draw_axes (const axes::properties& props); + virtual void draw_line (const line::properties& props); + virtual void draw_surface (const surface::properties& props); + virtual void draw_patch (const patch::properties& props); + virtual void draw_hggroup (const hggroup::properties& props); + virtual void draw_text (const text::properties& props); + virtual void draw_image (const image::properties& props); virtual void set_color (const Matrix& c); virtual void set_polygon_offset (bool on, double offset = 0.0); @@ -95,7 +95,7 @@ virtual void draw_marker (double x, double y, double z, const Matrix& lc, const Matrix& fc); - virtual Matrix draw_text (const std::string& txt, + virtual Matrix render_text (const std::string& txt, double x, double y, double z, int halign, int valign, double rotation = 0.0);