Contents

CTRunGetStatus(_:)

Returns the run’s status.

Declaration

func CTRunGetStatus(_ run: CTRun) -> CTRunStatus

Parameters

  • run:

    The run for which to return the status.

Return Value

The run’s status.

Discussion

Runs have status that can be used to expedite certain operations. Knowing the direction and ordering of a run’s glyphs can aid in string index analysis, whereas knowing whether the positions reference the identity text matrix can avoid expensive comparisons. This status is provided as a convenience, because this information is not strictly necessary but can be helpful in some circumstances.

See Also

Getting Glyph Run Data