Type Method

drawPackedGlyphs:atPoint:

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

Declaration

+ (void)drawPackedGlyphs:(const char *)packedGlyphs atPoint:(NSPoint)point;

Parameters

packedGlyphs

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

aPoint

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 appendBezierPathWithGlyph:inFont: and appendBezierPathWithGlyphs:count:inFont: methods to create a path with one or more glyphs.

See Also

Drawing Paths

- stroke

Draws a line along the receiver’s path using the current stroke color and drawing attributes.

- fill

Paints the region enclosed by the receiver’s path.

+ fillRect:

Fills the specified rectangular path with the current fill color.

+ strokeRect:

Strokes the path of the specified rectangle using the current stroke color and the default drawing attributes.

+ strokeLineFromPoint:toPoint:

Strokes a line between two points using the current stroke color and the default drawing attributes.