pub unsafe extern "C-unwind" fn CFAttributedStringGetBidiLevelsAndResolvedDirections(
attributed_string: &CFAttributedString,
range: CFRange,
base_direction: i8,
bidi_levels: *mut u8,
base_directions: *mut u8,
) -> bool
Available on crate features
CFAttributedString
and CFBase
only.Expand description
Fills bidiLevels by applying the Unicode Bidi Algorithm (P, X, W, N, and I) to the characters in range. Returns true if the result is not uni-level LTR (in other words, needing further Bidi processing). baseDirection is NSWritingDirection (NSWritingDirectionNatural, NSWritingDirectionLeftToRight, and NSWritingDirectionRightToLeft). Understands NSWritingDirectionAttributeName values.