Ejemplo n.º 1
0
    public static IntPtr GetGlyph(IntPtr fontContext, int charCode, out FreeTypeGlyph glyph, int fontsize, int outlinesize, bool bold)
    {
        IntPtr result = IntPtr.Zero;

        glyph = new FreeTypeGlyph();

        if (fontContext != IntPtr.Zero)
        {
            result = UFT_GetGlyph(fontContext, charCode, ref glyph, fontsize, outlinesize, bold);
        }
        return(result);
    }
Ejemplo n.º 2
0
 public static extern IntPtr UFT_GetGlyph(IntPtr pContext, int code, ref FreeTypeGlyph glyph, int fontsize, int outlinesize, bool bold);