Function CTLineGetStringRange

Source
pub unsafe extern "C-unwind" fn CTLineGetStringRange(
    line: &CTLine,
) -> CFRange
Available on crate feature CTLine only.
Expand description

Gets the range of characters that originally spawned the glyphs in the line.

Parameter line: The line that you want to obtain the string range from.

Returns: A CFRange that contains the range over the backing store string that spawned the glyphs. If the function fails for any reason, an empty range will be returned.