• 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: Scott Anguish <email@hidden>
  • Date: Fri, 17 Nov 2006 11:42:07 -0500

It doesn't mention anything about usesOptimizedDrawing:

It says don't overlap sibling views.

Note: For performance reasons, Cocoa does not enforce clipping among sibling views or guarantee correct invalidation and drawing behavior when sibling views overlap. If you want a view to be drawn in front of another view, you should make the front view a subview (or descendant) of the rear view.

On Nov 17, 2006, at 5:14 AM, Rosyna wrote:

This is the same thing Stephen pointed to and it doesn't answer the question. It just says you have to call usesOptimizedDrawing:NO on the NSWinow to ensure that the order of the subviews is respected when drawing. Furthermore, the only caveat when doing that is that you cannot expect drawing to a view *outside* of drawRect: and company to draw on the correct "layer", which is a complete non- issue for most situations.

_______________________________________________
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


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: Rosyna <email@hidden>)

  • Prev by Date: Re: Filtering files in NSOpenPanel that NSAppleScript can run
  • Next by Date: Re: Non-square (triangular) views
  • Previous by thread: Re: Non-square (triangular) views
  • Next by thread: Re: Non-square (triangular) views
  • Index(es):
    • Date
    • Thread