Function

CMTextFormatDescriptionGetDisplayFlags(_:displayFlagsOut:)

Returns the displayFlags.

Declaration

func CMTextFormatDescriptionGetDisplayFlags(_ desc: CMFormatDescription, displayFlagsOut: UnsafeMutablePointer<CMTextDisplayFlags>) -> OSStatus

Parameters

desc

CMFormatDescription being interrogated.

outDisplayFlags

On output, receives the display flags.

Return Value

A result code. Returns noErr if successful.

Discussion

These are the flags that control how the text appears.

See Also

Text-Specific Functions

func CMSwapBigEndianTextDescriptionToHost(UnsafeMutablePointer<UInt8>, Int) -> OSStatus

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

func CMSwapHostEndianTextDescriptionToBig(UnsafeMutablePointer<UInt8>, Int) -> OSStatus

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