• 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
How to find all clipping siblings for a view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to find all clipping siblings for a view?


  • Subject: How to find all clipping siblings for a view?
  • From: Alexander Bokovikov <email@hidden>
  • Date: Fri, 16 Apr 2010 02:06:47 +0600

Hi, All,

For some reason I need to do a job which NSWindow usually does, when it redraws itself (AFAIU) - I need to find all its views, which have z- order higher than my view, then get their bounding rectangles, unite them, subtract from the window content view bounding rectangle and sect the result with my view bounding rectangle. This is because my view uses QuickDraw to redraw itself, but those functions draw on screen directly (AFAIU) and don't take into account other views, located above current view.

Could anybody show the right way to go?

Thanks in advance. _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: NSNumberFormatter not working for me ?
  • Next by Date: Re: NSNumberFormatter not working for me ?
  • Previous by thread: Re: Setting front window when launched from another application
  • Next by thread: Re: How to find all clipping siblings for a view?
  • Index(es):
    • Date
    • Thread