public void ToBitmap(FT_RenderMode renderMode, bool destroy)
 {
     if (Format != FT_GlyphFormat.Bitmap)
     {
         FT.assert(FT.Glyph_To_Bitmap(ref glyph, renderMode, IntPtr.Zero, destroy));
     }
 }
Example #2
0
 public static extern FT_Error Glyph_To_Bitmap(
     ref FT_Glyph glyph,
     FT_RenderMode render_mode,
     IntPtr origin,
     [MarshalAs(UnmanagedType.U1)] bool destroy);