Contents

showGlyphsWithAdvances(glyphs:advances:count:)

Draws an array of glyphs with varying offsets.

Declaration

func showGlyphsWithAdvances(glyphs: UnsafePointer<CGGlyph>?, advances: UnsafePointer<CGSize>?, count: Int)

Parameters

  • 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

Related Documentation

Drawing Text