Instance Method

appendBezierPathWithGlyphs:count:inFont:

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

Declaration

- (void)appendBezierPathWithGlyphs:(NSGlyph *)glyphs count:(NSInteger)count inFont:(NSFont *)font;

Parameters

glyphs

A C-style array of NSGlyph data types to add to the path.

count

The number of glyphs in the glyphs parameter.

fontObj

The font in which the glyphs are encoded.

Discussion

If the glyphs are not encoded in the font specified by the fontObj parameter—that is, the font does not have an entry for one of the specified glyphs—then no path is appended to the receiver.

You must set the path's current point (using the moveToPoint: method or through the creation of a preceding line or curve segment) before you invoke this method. If the path is empty, this method raises an NSGenericException exception.

See Also

Appending Common Shapes to a Path

- appendBezierPath:

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

- appendBezierPathWithPoints:count:

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

- appendBezierPathWithOvalInRect:

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

- appendBezierPathWithArcFromPoint:toPoint:radius:

Appends an arc to the receiver’s path.

- appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:

Appends an arc of a circle to the receiver’s path.

- appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:clockwise:

Appends an arc of a circle to the receiver’s path.

- appendBezierPathWithGlyph:inFont:

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

Deprecated
- appendBezierPathWithPackedGlyphs:

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

Deprecated
- appendBezierPathWithRect:

Appends a rectangular path to the receiver’s path.

- appendBezierPathWithRoundedRect:xRadius:yRadius:

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