• 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: NSBezierPath (again) and region subtraction.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBezierPath (again) and region subtraction.


  • Subject: Re: NSBezierPath (again) and region subtraction.
  • From: Paul Fox <email@hidden>
  • Date: Tue, 2 Jul 2002 19:10:18 +0100

> On Tuesday, July 2, 2002, at 10:11 AM, Paul Fox wrote:
> > If I want to draw into my view but not my subview I can create a
> > clipping
> > region using NSBezierPath, e.g.
>
> Why bother with this at all? The clipping should happen naturally if
> your subview is completely opaque.
> John Blackburn
>

Simply because:

(a) the clipping doesnt occur
(b) Cocoa causes expensive and excessive setNeedsDisplay calls to occur.

regards

>
>
+-------------------------------------------------------------------------+
| CRiSP - Flexible editor | CRiSP, syn. for BRIEF |#
| | Internet: email@hidden |#
| If you get no reply for | WWW: (mine) http://www.crisp.demon.co.uk |#
| support, please check your | WWW: http://www.crisp.com |#
| Reply-To: email address. | WWW: http://www.pacemaker.co.uk |#
+-------------------------------------------------------------------------+#
###########################################################################
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: [newbie] Hot Key
  • Next by Date: Re: TextView and attachments
  • Previous by thread: NSBezierPath (again) and region subtraction.
  • Next by thread: Re: NSBezierPath (again) and region subtraction.
  • Index(es):
    • Date
    • Thread