Mercurial > hg > octave-lyh
diff src/gl2ps-renderer.h @ 11455:2be9e22796d2
improvements in text-extent calculation
author | Konstantinos Poulios <logari81@googlemail.com> |
---|---|
date | Thu, 06 Jan 2011 20:46:03 +0100 |
parents | 2786e3b7072e |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/src/gl2ps-renderer.h +++ b/src/gl2ps-renderer.h @@ -47,6 +47,7 @@ virtual void set_font (const base_properties& props); + virtual void draw_text (const text::properties& props); virtual void draw_pixels (GLsizei w, GLsizei h, GLenum format, GLenum type, const GLvoid *data); @@ -74,6 +75,7 @@ } private: + int alignment_to_mode (int ha, int va) const; int fid; caseless_str term; double fontsize;