Contents

drawPackedGlyphs(_:at:)

Draws a set of packed glyphs at the specified point in the current coordinate system.

Declaration

class func drawPackedGlyphs(_ packedGlyphs: UnsafePointer<CChar>, at point: NSPoint)

Parameters

  • packedGlyphs:

    A C-style array containing one or more CGGlyph data types terminated by a NULL character.

  • point:

    The starting point at which to draw the glyphs.

Discussion

This method draws the glyphs immediately.

You should avoid using this method directly. Instead, use the appendGlyph(_:in:) and appendGlyphs(_:count:in:) methods to create a path with one or more glyphs.

See Also

Related Documentation

Drawing a Path