Re: Non-square (triangular) views
Re: Non-square (triangular) views
- Subject: Re: Non-square (triangular) views
- From: Rosyna <email@hidden>
- Date: Thu, 16 Nov 2006 18:46:48 -0700
That's what -[NSWindow usesOptimizeDrawing:] would be for.
Ack, at 11/16/06, Stephen Deken said:
On Nov 16, 2006, at 6:47 PM, Rosyna wrote:
Is there documentation that states this isn't reliable?
<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaViewsGuide/WorkingWithAViewHierarchy/chapter_4_section_5.html>
"For performance reasons, Cocoa does not enforce clipping among
sibling views or guarantee correct invalidation and drawing behavior
when sibling views overlap."
Stephen Deken
email@hidden
The existence of -[NSView sortSubviewsUsingFunction:context:] seems
to imply there is a very specific order in the way subviews are
drawn and that that order can be changed. Both of which would be
required for reliably overlapping views.
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/Reference.html#//apple_ref/occ/instm/NSView/sortSubviewsUsingFunction:context:
--
Sincerely,
Rosyna Keller
Technical Support/Carbon troll/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
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