How to find all clipping siblings for a view?
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