Contents

showPackedGlyphs:length:glyphRange:atPoint:font:color:printingAdjustment:

Draws a range of glyphs.

Declaration

- (void) showPackedGlyphs:(char *) glyphs length:(NSUInteger) glyphLen glyphRange:(NSRange) glyphRange atPoint:(NSPoint) point font:(NSFont *) font color:(NSColor *) color printingAdjustment:(NSSize) printingAdjustment;

Parameters

  • glyphs:

    The glyphs to draw; may contain embedded NULL bytes.

  • glyphLen:

    The number of bytes pointed at by glyphs; this is twice the number of glyphs contained.

  • glyphRange:

    The range of glyphs to draw.

  • point:

    The point at which to draw the glyphs.

  • font:

    The font of the glyphs to draw.

  • color:

    Color of the glyphs to draw.

  • printingAdjustment:

    NSZeroSize when drawing to the screen, but when printing may contain values by which the nominal spacing between the characters should be adjusted.

Discussion

The glyphRange, point, font, and color parameters are passed in merely for information purposes. They are already set in the graphics state. If for any reason you modify the set color or font, you must restore it before returning from this method.

You should never call this method, but you might override it.

See Also

Methods