Renders the given glyphs of a font at the specified positions in the supplied graphics context.
- iOS 4.2+
- macOS 10.7+
- tvOS 9.0+
- watchOS 2.0+
- Mac Catalyst 13.0+Beta
- Core Text
The font with glyphs to render. If the font has a size or matrix attribute,
contextis set with these values.
The glyphs to be rendered. The glyphs should be the result of proper Unicode text layout operations (such as with
CTLine). Functions such as
CTFontdo not perform any Unicode text layout.
Get Glyphs For Characters(_: _: _: _:)
The positions (origins) for each glyph in
glyphs. The positions are in user space. The number of positions passed in must match the number of glyphs (in
The number of glyphs to be rendered from the
The graphics context used to render the glyphs.
This function modifies graphics state including font, text size, and text matrix if these attributes are specified in
font. These attributes are not restored.