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