• 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
Re: NSLayoutManager subclassing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLayoutManager subclassing


  • Subject: Re: NSLayoutManager subclassing
  • From: Rachel Blackman <email@hidden>
  • Date: Thu, 19 Jan 2006 10:35:15 -0800

This is really a view-level modification rather than a layout-level modification. You are not changing the positioning of glyphs with respect to each other, or the manner in which glyphs are drawn. Instead, you are changing the origin of the container relative to the view (in one implementation) or the origin of the view with respect to its superview (in another).

Yeah, unfortunately, this was what I was afraid of. The ability of NSLayoutManager and NSTextContainer to draw in circular areas, etc., was what led me down the path of 'is it possible.' Alas. :)


I may try the flipping of coordinates; if that works, it would be a much quicker method. I suspect, however, that it will have some unforeseen consequence I'm not expecting. (Well, I suppose it goes without saying that if I were expecting it, it wouldn't be unforeseen.)

--
Rachel 'Sparks' Blackman -- sysadmin, developer, mad scientist
"If it is not broken, give me five minutes to redesign it!"

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSLayoutManager subclassing
      • From: John Stiles <email@hidden>
    • Re: NSLayoutManager subclassing
      • From: Douglas Davidson <email@hidden>
References: 
 >NSLayoutManager subclassing (From: Rachel Blackman <email@hidden>)
 >Re: NSLayoutManager subclassing (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: "Open dialogue"-like file system browser
  • Next by Date: Re: "Open dialogue"-like file system browser
  • Previous by thread: Re: NSLayoutManager subclassing
  • Next by thread: Re: NSLayoutManager subclassing
  • Index(es):
    • Date
    • Thread