/[gzz]/gzz/gfx/libtext/Text.hxx
ViewVC logotype

Diff of /gzz/gfx/libtext/Text.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by tjl, Wed Aug 21 07:12:43 2002 UTC revision 1.7 by tjl, Thu Sep 12 15:30:04 2002 UTC
# Line 155  namespace Text { Line 155  namespace Text {
155          Rect rect;          Rect rect;
156          QuadGlyph() {}          QuadGlyph() {}
157          QuadGlyph(Glyph glyph, Rect &rect) : glyph(glyph), rect(rect) { }          QuadGlyph(Glyph glyph, Rect &rect) : glyph(glyph), rect(rect) { }
158          bool valid() { return (bool)(rect.tex) ; }          bool valid() { return rect.tex.isGood() ; }
159          template<class Vertex> void draw(int &cx, int &cy, Vertex &vertex) {          template<class Vertex> void draw(int &cx, int &cy, Vertex &vertex) {
160              if(glyph.extents.width != 0) {              if(glyph.extents.width != 0) {
161                  int cx1 = cx + glyph.extents.left;                  int cx1 = cx + glyph.extents.left;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26