CTRun
A glyph run.
Declaration
class CTRunOverview
A glyph run is a set of consecutive glyphs sharing the same attributes and direction.
The typesetter creates glyph runs as it produces lines from character strings, attributes, and font objects. That is, a line is constructed of one or more glyphs runs. Glyph runs can draw themselves into a graphic context, if desired, although most users have no need to interact directly with glyph runs.
Topics
Getting Glyph Run Data
CTRunGetGlyphCount(_:)CTRunGetAttributes(_:)CTRunGetStatus(_:)CTRunGetGlyphsPtr(_:)CTRunGetGlyphs(_:_:_:)CTRunGetPositionsPtr(_:)CTRunGetPositions(_:_:_:)CTRunGetAdvancesPtr(_:)CTRunGetAdvances(_:_:_:)CTRunGetStringIndicesPtr(_:)CTRunGetStringIndices(_:_:_:)CTRunGetStringRange(_:)
Measuring the Glyph Run
CTLineGetBoundsWithOptions(_:_:)CTRunGetTypographicBounds(_:_:_:_:_:)CTRunGetImageBounds(_:_:_:)CTRunGetBaseAdvancesAndOrigins(_:_:_:_:)