Deprecated NSLayoutManager Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated in OS X v10.7
showPackedGlyphs:length:glyphRange:atPoint:font:color:printingAdjustment:
Draws a range of glyphs. (Deprecated in OS X v10.7. You should instead use showCGGlyphs:positions:count:font:matrix:attributes:inContext:.)
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.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.7.
Declared In
NSLayoutManager.h© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-06-11)