Returns a direct pointer for the glyph advance array stored in the run.
- iOS 3.2+
- macOS 10.5+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Text
The run whose advances you wish to access.
A valid pointer to an array of
CGSize structures representing the glyph advance array or
The advance array will have a length equal to the value returned by
CTRun. The caller should be prepared for this function to return
NULL even if there are glyphs in the stream. Should this function return
NULL, the caller needs allocate its own buffer and call
CTRun to fetch the advances. Note that advances alone are not sufficient for correctly positioning glyphs in a line, as a run may have a non-identity matrix or the initial glyph in a line may have a non-zero origin; callers should consider using positions instead.