Re: Newbie and NSLayoutManager
Re: Newbie and NSLayoutManager
- Subject: Re: Newbie and NSLayoutManager
- From: Douglas Davidson <email@hidden>
- Date: Tue, 3 Feb 2004 16:09:40 -0800
On Feb 3, 2004, at 2:58 PM, email@hidden wrote:
I am a beginner, so please forgive this basic question. I want to use
NSLayoutManager's
- (unsigned)getGlyphs:(NSGlyph *)glyphArray range:(NSRange)glyphRange
to get the glyphArray. But what must I do to get it filled?
I tried:
NSGlyph glyphs= nil;
unsigned glyphsCount= [layoutManager getGlyphs:&glyphs range
glyphRange];
but this is not the way to do it.
You need to provide a C array of NSGlyphs, whose length is that of the
range you are interested in.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.