예제 #1
0
 internal BBox(BBoxRec bboxInt)
 {
     this.rec = bboxInt;
 }
예제 #2
0
 internal static extern void FT_Glyph_Get_CBox(IntPtr glyph, GlyphBBoxMode bbox_mode, ref BBoxRec acbox);
예제 #3
0
        public BBox GetCBox(GlyphBBoxMode mode)
        {
            if (disposed)
                throw new ObjectDisposedException("Glyph", "Cannot access a disposed object.");

            BBoxRec box = new BBoxRec();
            FT.FT_Glyph_Get_CBox(Reference, mode, ref box);

            return new BBox(box);
        }