Tao.Sdl SDK Documentation |
|
SdlTtf.TTF_GlyphMetrics Method
Get individual font glyph metrics
Parameters
-
font
-
-
ch
-
-
minx
-
-
maxx
-
-
miny
-
-
maxy
-
-
advance
-
Return Value
Remarks
To understand what these metrics mean, here is a useful link: http://freetype.sourceforge.net/freetype2/docs/tutorial/step2.html
Binds to C-function in SDL_ttf.h
int TTF_GlyphMetrics(TTF_Font *font, Uint16 ch, int *minx, int *maxx, int *miny, int *maxy, int *advance)
Example
See Also
SdlTtf Class | Tao.Sdl Namespace