Example #1
0
 public static extern int TTF_GlyphMetrics(
     TTFFont font,
     ushort ch,
     out int minx,
     out int maxx,
     out int miny,
     out int maxy,
     out int advance
     );
Example #2
0
 public static extern int TTF_FontHeight(TTFFont font);
Example #3
0
 public static extern void TTF_SetFontKerning(TTFFont font, int kerning);
Example #4
0
 public static extern int TTF_GetFontKerning(TTFFont font);
Example #5
0
 public static extern int TTF_SizeUTF8(
     TTFFont font,
     /*const char*/ byte *text,
     out int w,
     out int h
     );
Example #6
0
 public static extern int TTF_GlyphIsProvided(TTFFont font, ushort ch);
Example #7
0
 public static extern /*char*/ byte *TTF_FontFaceFamilyName(TTFFont font);
Example #8
0
 public static extern long TTF_FontFaces(TTFFont font);
Example #9
0
 public static extern void TTF_SetFontStyle(TTFFont font, FontStyle style);
Example #10
0
 public static extern FontStyle TTF_GetFontStyle(TTFFont font);
Example #11
0
 public static extern Surface TTF_RenderGlyph_Blended(
     TTFFont font,
     ushort ch,
     Color fg
     );
Example #12
0
 public static extern Surface TTF_RenderUNICODE_Blended(
     TTFFont font,
     /*const */ ushort *text,
     Color fg
     );
Example #13
0
 public static extern int TTF_SizeUNICODE(
     TTFFont font,
     /*const */ ushort *text,
     out int w,
     out int h
     );
Example #14
0
 public static extern Surface TTF_RenderUTF8_Blended(
     TTFFont font,
     /*const char*/ byte *text,
     Color fg
     );
Example #15
0
 public static extern int TTF_FontDescent(TTFFont font);
Example #16
0
 public static extern int TTF_FontLineSkip(TTFFont font);
Example #17
0
 public static extern int TTF_GetFontOutline(TTFFont font);
Example #18
0
 public static extern int TTF_FontFaceIsFixedWidth(TTFFont font);
Example #19
0
 public static extern void TTF_SetFontOutline(TTFFont font, int outline);
Example #20
0
 public static extern /*char*/ byte *TTF_FontFaceStyleName(TTFFont font);
Example #21
0
 public static extern FontHinting TTF_GetFontHinting(TTFFont font);
Example #22
0
 public static extern void TTF_SetFontHinting(TTFFont font, FontHinting hinting);
Example #23
0
 public GlyphMetrics(TTFFont font, char glyph)
 {
     ErrorIfNegative(TTF_GlyphMetrics(font, glyph, out minx, out maxx, out miny, out maxy, out advance));
 }