Re: NSBezierPath (again) and region subtraction.
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.