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
NULLbytes. - 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:
NSZeroSizewhen 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
showCGGlyphs(_:positions:count:font:matrix:attributes:in:)invalidateGlyphs(onLayoutInvalidationForGlyphRange:)invalidateLayout(forCharacterRange:isSoft:actualCharacterRange:)textStorage(_:edited:range:changeInLength:invalidatedRange:)insertGlyph(_:atGlyphIndex:characterIndex:)insertGlyphs(_:length:forStartingGlyphAt:characterIndex:)glyph(at:)glyph(at:isValidIndex:)replaceGlyph(at:withGlyph:)getGlyphs(_:range:)getGlyphs(in:glyphs:characterIndexes:glyphInscriptions:elasticBits:)getGlyphs(in:glyphs:characterIndexes:glyphInscriptions:elasticBits:bidiLevels:)deleteGlyphs(in:)setCharacterIndex(_:forGlyphAt:)intAttribute(_:forGlyphAt:)