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