Esempio n. 1
0
 internal void UnlockGlyph()
 {
     lockedGlyph = null;
 }
Esempio n. 2
0
 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;
 }