Re: NSGlyph is still a puzzle
Re: NSGlyph is still a puzzle
- Subject: Re: NSGlyph is still a puzzle
- From: Douglas Davidson <email@hidden>
- Date: Mon, 21 Jan 2002 16:01:47 -0800
On Monday, January 21, 2002, at 03:46 PM, Anabelle Masour wrote:
- (unsigned)getGlyphsInRange:(NSRange)glyphsRange glyphs:(NSGlyph
*)glyphBuffer characterIndexes:(unsigned *)charIndexBuffer
glyphInscriptions:(NSGlyphInscription *)inscribeBuffer
elasticBits:(BOOL *)elasticBuffer
and look for the NSGlyphInscription inscribeBuffer and the
charIndexBuffer. This method has some undocumented other variables....
I must ask this :) What are elasticBits ?
This is simply a means for getting glyphs and associated attributes in
bulk. The glyph inscriptions here are equivalent to those that would be
returned by calling intAttribute:NSGlyphAttributeInscribe
forGlyphAtIndex: individually, and the elastic bits are equivalent to
the results of calling intAttribute:NSGlyphAttributeElastic
forGlyphAtIndex: individually. The bulk method is designed for
efficient retrieval of many glyphs and their attributes at once,
primarily by NSTypesetter.
Douglas Davidson