Function

CMTextFormatDescriptionGetJustification(_:horizontalOut:verticalOut:)

Returns horizontal and vertical justification.

Declaration

func CMTextFormatDescriptionGetJustification(_ desc: CMFormatDescription, horizontalOut horizontaJustificationlOut: UnsafeMutablePointer<CMTextJustificationValue>?, verticalOut verticalJustificationOut: UnsafeMutablePointer<CMTextJustificationValue>?) -> OSStatus

Parameters

desc

CMFormatDescription being interrogated.

outHorizontalJust

Horizontal justification mode. May be NULL.

outVerticalJust

Vertical justification mode. May be NULL.

Return Value

A result code. Returns noErr if successful.

Discussion

For possible values see CMTextJustificationValue.

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software