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); }
public static extern IntPtr UFT_GetGlyph(IntPtr pContext, int code, ref FreeTypeGlyph glyph, int fontsize, int outlinesize, bool bold);