[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5. Defines

TTF_MAJOR_VERSION
2
SDL_ttf library major number at compilation time.
TTF_MINOR_VERSION
0
SDL_ttf library minor number at compilation time.
TTF_PATCHLEVEL
7
SDL_ttf library patch level at compilation time.
UNICODE_BOM_NATIVE
0xFEFF
This allows you to switch byte-order of UNICODE text data to native order, meaning the mode of your CPU. This is meant to be used in a UNICODE string that you are using with the SDL_ttf API.
UNICODE_BOM_SWAPPED
0xFFFE
This allows you to switch byte-order of UNICODE text data to swapped order, meaning the reversed mode of your CPU. So if your CPU is LSB, then the data will be interpretted as MSB. This is meant to be used in a UNICODE string that you are using with the SDL_ttf API.
TTF_STYLE_NORMAL
0x00
Used to indicate regular, normal, plain rendering style.
TTF_STYLE_BOLD
0x01
Used to indicate bold rendering style. This is used a bitmask along with other styles.
TTF_STYLE_ITALIC
0x02
Used to indicate italicized rendering style. This is used a bitmask along with other styles.
TTF_STYLE_UNDERLINE
0x04
Used to indicate underlined rendering style. This is used a bitmask along with other styles.

See Also:
6. Glossary,



This document was generated on January, 14 2006 using texi2html