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
CGGlyphdata types terminated by aNULLcharacter. - 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.