On 26-Jan-00 Christian Vandendorpe wrote:
> Yes, flood fill, I was missing the term. I thought about it a bit more and
> will just do "arc fill" that means that to draw a pie wedge of a certain
> color, I'll just draw many lines of that color from the center to the outer
> limits of the pie throughout the angle of the wedge.
>
> It seems like overkill to do a rectangle fill of a pie wedge, at least to
> me that sounds pretty complicated!
There are lots of older graphics books that show how to do concave polygon
fills by counting the edges.. i.e. go raster by raster and determine whether
you are inside or outside of the polygon by counting how many lines you cross
from left to right.. or something like that.
/* Chris Faherty <[EMAIL PROTECTED]> */
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html