• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Newbie and NSLayoutManager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie and NSLayoutManager


  • Subject: Newbie and NSLayoutManager
  • From: email@hidden
  • Date: Tue, 3 Feb 2004 23:58:55 +0100

Hello List,
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.

As workaround I currently use NSLayoutManager's
- (NSGlyph)glyphAtIndex:(unsigned)glyphIndex
to get every glyph step by step, but that it not really satisfying.

TIA,
--Jan--
_______________________________________________
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.

  • Follow-Ups:
    • Re: Newbie and NSLayoutManager
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Download a RTFD file
  • Next by Date: Off Topic --- Problems With Modern lex/yacc and Old Code
  • Previous by thread: Re: Download a RTFD file
  • Next by thread: Re: Newbie and NSLayoutManager
  • Index(es):
    • Date
    • Thread