On Jul 3, 2009, at 11:15 PM, colo wrote:

I am seeking a bare bones beginner source or tutorial for building
painting apps on the iphone.
Of all the apps I tested. None have a paint bucket tool that only
fills in a section of color. They all fill the screen.
So, I must make my own. :D


Having the right algorithm is half the work.
As always, google is your friend...


"Paint bucket" algorithm?
http://discuss.joelonsoftware.com/default.asp?joel.3.18248.3


How does the fill operation work in paint applications?
http://stackoverflow.com/questions/274213/how-does-the-fill-operation-work-in-paint-applications


Flood fill
http://en.wikipedia.org/wiki/Flood_fill


Wagner
_______________________________________________

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 arch...@mail-archive.com

Reply via email to