Trying to do something like the magic wand tool in most image editors, and I was wondering if anybody had a better idea on where to start.
My initial thoughts are to check mouse x/y on click, and if the alpha(its either transparent or not transparent) is greater than 0 add that coord to a list, it would then check the x/y's around that, and add them to the list if they qualify, but that's about as far as I've figured, as you would need to jump to one of the contiguous pixels, and check from there next.
Problem is how do you exclude it checking... what you've already checked?
Thoughts?
Ideas?
Your doing it wrong?