Function

CGContextShowGlyphsWithAdvances

Draws an array of glyphs with varying offsets.

Declaration

void CGContextShowGlyphsWithAdvances(CGContextRef c, const CGGlyph *glyphs, const CGSize *advances, size_t count);

Parameters

c

The graphics context in which to display the glyphs.

glyphs

An array of glyphs.

advances

An array of offset values associated with each glyph in the array. Each value specifies the offset from the previous glyph's origin to the origin of the corresponding glyph. Offsets are specified in user space.

count

The number of glyphs in the specified array.

Discussion

This function draws an array of glyphs at the current point specified by the text matrix.

See Also

Drawing Glyphs

CGContextShowGlyphs

Displays an array of glyphs at the current text position.

Deprecated
CGContextShowGlyphsAtPoint

Displays an array of glyphs at a position you specify.

Deprecated
CGContextShowGlyphsAtPositions

Draws glyphs at the provided position.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software