public FreeTypeGlyphSlot LockGlyph(uint glyphIndex, FT_LoadFlags loadFlags) { if (lockedGlyph != null) { throw new Exception("A glyph is already locked, use Dispose() or using { }"); } FT.assert(FT.Load_Glyph(face, glyphIndex, loadFlags)); updateFaceRec(); lockedGlyph = new FreeTypeGlyphSlot(this, face_rec.glyph); return lockedGlyph; }
public static extern FT_Error Load_Glyph(FT_Face face, FT_UInt glyph_index, FT_LoadFlags load_flags);