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