Calculates the bounding rects for an array of glyphs and returns the overall bounding rectangle for the glyph run.
- iOS 3.2+
- macOS 10.5+
- tvOS 9.0+
- watchOS 2.0+
- Core Text
The font reference.
The intended drawing orientation of the glyphs. Used to determined which glyph metrics to return.
An array of
countnumber of glyphs.
On output, the computed glyph rectangles in an array of
NULL, only the overall bounding rectangle is calculated.
The capacity of the
The overall bounding rectangle for an array or run of glyphs. Returns
null on error.
The bounding rectangles of the individual glyphs are returned through the
bounding parameter. These are the design metrics from the font transformed in font space.