Commit d734048e3f65129f9ee9f9ddd8bdf250dfe5647e

henry 2004-10-11T09:45:18

Changed pos assignment

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/FTBitmapGlyph.cpp b/src/FTBitmapGlyph.cpp
index 2c8f208..d0c0fd9 100755
--- a/src/FTBitmapGlyph.cpp
+++ b/src/FTBitmapGlyph.cpp
@@ -38,9 +38,8 @@ FTBitmapGlyph::FTBitmapGlyph( FT_GlyphSlot glyph)
             src += srcPitch;
         }
     }
-    
-    pos.X( glyph->bitmap_left);
-    pos.Y( static_cast<int>(srcHeight) - glyph->bitmap_top);
+
+    pos = FTPoint(glyph->bitmap_left, static_cast<int>(srcHeight) - glyph->bitmap_top, 0.0);
 }