CMTextFormatDescriptionGetJustification

Function CMTextFormatDescriptionGetJustification 

Source
pub unsafe extern "C-unwind" fn CMTextFormatDescriptionGetJustification(
    desc: &CMFormatDescription,
    horizonta_justificationl_out: *mut CMTextJustificationValue,
    vertical_justification_out: *mut CMTextJustificationValue,
) -> i32
Available on crate feature CMFormatDescription only.
Expand description

Returns horizontal and vertical justification.

Values are kCMTextJustification_* constants. The function returns kCMFormatDescriptionError_ValueNotAvailable for format descriptions that do not carry text justification.

ยงSafety

  • horizonta_justificationl_out must be a valid pointer or null.
  • vertical_justification_out must be a valid pointer or null.