--- On Thu, 11/6/08, Development <[EMAIL PROTECTED]> wrote: > I have been using masks and images as way to handle > selection areas in a drawing program. It works fine for > fills and other operations, but the dotted outline of a > CGPath looks better as a selection.
Andy Finnell wrote a couple of very good articles on this a while back. http://www.losingfight.com/blog/2007/08/28/how-to-implement-a-magic-wand-tool/ http://www.losingfight.com/blog/2007/08/29/an-alternate-way-to-implement-marching-ants/ The latter uses CoreImage directly on your mask to draw the dotted line, so it's probably a bit quicker than tracing the bitmap. Cheers, Chuck _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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]