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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to