• 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: Non-square (triangular) views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Chinese character handwriting recognition
      • From: Damian Terentyev <email@hidden>
References: 
 >Re: Non-square (triangular) views (From: Erik Buck <email@hidden>)
 >Re: Non-square (triangular) views (From: Rosyna <email@hidden>)
 >Re: Non-square (triangular) views (From: Stephen Deken <email@hidden>)

  • Prev by Date: Re: Non-square (triangular) views
  • Next by Date: Re: Is willChangeValueForKey: always needed?
  • Previous by thread: Re: Non-square (triangular) views
  • Next by thread: Chinese character handwriting recognition
  • Index(es):
    • Date
    • Thread