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.