Method | Description | |
---|---|---|
TTF_GetError ( ) : string |
Get the current error string This is the same as SDL_GetError, which returns the last error set as a string which you may use to tell the user what happened when an error status has been returned from an SDL_ttf function call. Binds to C-function in SDL_ttf.h |
|
TTF_Linked_Version ( ) : Tao.Sdl.Sdl.SDL_version |
Using this you can compare the runtime version to the version that you compiled with. Binds to C-function call in SDL_ttf.h: |
|
TTF_SetError ( string message ) : void |
Set the current error string This is the same as SDL_SetError, which sets the error string which may be fetched with TTF_GetError (or SDL_GetError). This functions acts like printf, except that it is limited to SDL_ERRBUFIZE(1024) chars in length. It only accepts the following format types: %s, %d, %f, %p. No variations are supported, like %.2f would not work. For any more specifics read the SDL docs. Binds to C-function in SDL_image.h |
|
TTF_VERSION ( ) : Tao.Sdl.Sdl.SDL_version |
This method can be used to fill a version structure with the compile-time version of the SDL_ttf library. Binds to C-function call in SDL_ttf.h: |
Method | Description | |
---|---|---|
TTF_ByteSwappedUNICODE ( int swapped ) : void | ||
TTF_CloseFont ( |
||
TTF_FontAscent ( |
||
TTF_FontDescent ( |
||
TTF_FontFaceFamilyName ( |
||
TTF_FontFaceIsFixedWidth ( |
||
TTF_FontFaceStyleName ( |
||
TTF_FontFaces ( |
||
TTF_FontHeight ( |
||
TTF_FontLineSkip ( |
||
TTF_GetFontStyle ( |
||
TTF_GlyphMetrics ( |
||
TTF_Init ( ) : int | ||
TTF_Linked_VersionInternal ( ) : |
||
TTF_OpenFont ( string file, int ptsize ) : |
||
TTF_OpenFontIndex ( string file, int ptsize, long index ) : |
||
TTF_OpenFontIndexRW ( |
||
TTF_OpenFontRW ( |
||
TTF_Quit ( ) : void | ||
TTF_RenderGlyph_Blended ( |
||
TTF_RenderGlyph_Shaded ( |
||
TTF_RenderGlyph_Solid ( |
||
TTF_RenderText_Blended ( |
||
TTF_RenderText_Shaded ( |
||
TTF_RenderText_Solid ( |
||
TTF_RenderUNICODE_Blended ( |
||
TTF_RenderUNICODE_Shaded ( |
||
TTF_RenderUNICODE_Solid ( |
||
TTF_RenderUTF8_Blended ( |
||
TTF_RenderUTF8_Shaded ( |
||
TTF_RenderUTF8_Solid ( |
||
TTF_SetFontStyle ( |
||
TTF_SizeText ( |
||
TTF_SizeUNICODE ( |
||
TTF_SizeUTF8 ( |
||
TTF_WasInit ( ) : int |
public static TTF_Linked_Version ( ) : Tao.Sdl.Sdl.SDL_version | ||
return | Tao.Sdl.Sdl.SDL_version |
public static TTF_SetError ( string message ) : void | ||
message | string | |
return | void |
public static TTF_VERSION ( ) : Tao.Sdl.Sdl.SDL_version | ||
return | Tao.Sdl.Sdl.SDL_version |