Пример #1
0
 public BBox(FT.FT_BBox ft_bbox, float scale)
 {
     xMin = FT.F26Dot6toFloat(ft_bbox.xMin) * scale;
     yMin = FT.F26Dot6toFloat(ft_bbox.yMin) * scale;
     xMax = FT.F26Dot6toFloat(ft_bbox.xMax) * scale;
     yMax = FT.F26Dot6toFloat(ft_bbox.yMax) * scale;
 }
Пример #2
0
 public static extern int FT_Glyph_Get_CBox(IntPtr glyph, FTUInt bboxmode, out FT.FT_BBox cbox);