Function

CMSwapBigEndianTextDescriptionToHost

Converts a TextDescription data structure from big-endian to host-endian in place.

Declaration

OSStatus CMSwapBigEndianTextDescriptionToHost(uint8_t *textDescriptionData, size_t textDescriptionSize);

Parameters

textDescriptionData

TextDescription data structure in big-endian byte ordering to be converted to host-endian byte ordering.

textDescriptionSize

Size of TextDescription data structure.

See Also

Text-Specific Functions

CMTextFormatDescriptionGetDefaultStyle

Returns the default style.

CMTextFormatDescriptionGetDefaultTextBox

Returns the default text box.

CMTextFormatDescriptionGetDisplayFlags

Returns the displayFlags.

CMTextFormatDescriptionGetFontName

Returns the font name for a local font ID.

CMTextFormatDescriptionGetJustification

Returns horizontal and vertical justification.

CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer

Copies the contents of a CMTextFormatDescription to a CMBlockBuffer in big-endian byte ordering.

CMTextFormatDescriptionCreateFromBigEndianTextDescriptionBlockBuffer

Creates a CMTextFormatDescription from a big-endian TextDescription data structure in a CMBlockBuffer.

CMTextFormatDescriptionCreateFromBigEndianTextDescriptionData

Creates a CMTextFormatDescription from a big-endian TextDescription data structure.

CMSwapHostEndianTextDescriptionToBig

Converts a TextDescription data structure from host-endian to big-endian in place.