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

3.3.1 TTF_ByteSwappedUNICODE

void TTF_ByteSwappedUNICODE(int swapped)

if non-zero then UNICODE data is byte swapped relative to the CPU's native endianness.
if zero, then do not swap UNICODE data, use the CPU's native endianness.

This function tells SDL_ttf whether UNICODE (Uint16 per character) text is generally byteswapped. A UNICODE_BOM_NATIVE or UNICODE_BOM_SWAPPED character in a string will temporarily override this setting for the remainder of that string, however this setting will be restored for the next one. The default mode is non-swapped, native endianness of the CPU.

// Turn on byte swapping for UNICODE text

See Also:
5. Defines

This document was generated on November, 13 2009 using texi2html