Tao.Sdl SDK Documentation

SdlTtf.TTF_Font Structure

The opaque holder of a loaded font

For a list of all members of this type, see SdlTtf.TTF_Font Members.

System.Object
   System.ValueType
      Tao.Sdl.SdlTtf.TTF_Font

[Visual Basic]
Public Structure SdlTtf.TTF_Font
[C#]
public struct SdlTtf.TTF_Font

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The opaque holder of a loaded font. You should always be using a pointer of this type, as in TTF_Font*, and not just plain TTF_Font. This stores the font data in a struct that is exposed only by using the API functions to get information. You should not try to access the struct data directly, since the struct may change in different versions of the API, and thus your program would be unreliable.

Struct in SDL_ttf.h

struct _TTF_Font TTF_Font;
            

Requirements

Namespace: Tao.Sdl

Assembly: Tao.Sdl (in Tao.Sdl.dll)

See Also

SdlTtf.TTF_Font Members | Tao.Sdl Namespace