Erasing portion of NSView and custom cursors
Erasing portion of NSView and custom cursors
- Subject: Erasing portion of NSView and custom cursors
- From: Austin Sarner <email@hidden>
- Date: Thu, 3 Feb 2005 18:38:34 -0500
Hey,
I have two questions here, so I decided to put them in one email.
I currently have an NSView that the user can draw on. Every time the
color or thickness is changed, a new bezier path is created. In
drawRect I enumerate through the array of paths and draw them. Is
there any relatively simple way to have an 'eraser' path? I.E. one
that will clear everything it covers when the user draws over something
with it. The view does not have a white background, so simply making
it draw white is not an option. Thanks a bunch for any help.
The second, is there any simple way to change the cursor to a specified
tiff image when over a view?
Thanks,
Austin Sarner
_______________________________________________
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