Re: still cant get bezier paths working for me.
Re: still cant get bezier paths working for me.
- Subject: Re: still cant get bezier paths working for me.
- From: Jerry Krinock <email@hidden>
- Date: Tue, 26 Feb 2008 06:20:27 -0800
On 2008 Feb, 26, at 6:06, Development wrote:
That's where the bezierpath is invoked from so focus is locked.
Good. Always draw within drawRect: wherever possible.
Further, in your case, make sure that all your invocations of -
bezierPath, which draw your "pen"/mouse line, both present and past,
are all in -drawRect: ^after^ the other stuff in the view has been
drawn. And, if you're using the argument (rect) to economize what
should be drawn, make sure that the "past" paths of your pen line are
all being redrawn whenever they are within the argument rect.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden