Instance Method

appendPackedGlyphs(_:)

Appends an array of packed glyphs to the receiver’s path.

Declaration

func appendPackedGlyphs(_ packedGlyphs: UnsafePointer<Int8>)

Parameters

packedGlyphs

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

Discussion

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

See Also

Appending Common Shapes to a Path

func append(NSBezierPath)

Appends the contents of the specified path object to the receiver’s path.

func appendPoints(NSPointArray, count: Int)

Appends a series of line segments to the receiver’s path.

func appendOval(in: NSRect)

Appends an oval path to the receiver, inscribing the oval in the specified rectangle.

func appendArc(from: NSPoint, to: NSPoint, radius: CGFloat)

Appends an arc to the receiver’s path.

func appendGlyph(NSGlyph, in: NSFont)

Appends an outline of the specified glyph to the receiver’s path.

Deprecated
func appendGlyphs(UnsafeMutablePointer<NSGlyph>, count: Int, in: NSFont)

Appends the outlines of the specified glyphs to the receiver’s path.

Deprecated
func appendRect(NSRect)

Appends a rectangular path to the receiver’s path.

func appendRoundedRect(NSRect, xRadius: CGFloat, yRadius: CGFloat)

Appends a rounded rectangular path to the receiver’s path.