Chris Tutty a �crit :

> From: "Luc Le Blanc" <[EMAIL PROTECTED]>
> > I need to fill a trapezoidal area. i.e. a rectangle with unequal sides.
> > I see no API for that, nor something like "WinFillArea" that would color
> > every pixel around the given start location until hitting a different
> > color (like a paint tool in basic paint programs). Are there suitable
> > APIs for that, or is there a graphics shared library freely available to
> > do that?
> >
> If speed isn't an issue it's fairly easy to write your own flood-fill
> algorithm that detects the edges of the polygon and draws lines
> to fill between them.

Speed is an issue. Who wants to wait for lengthy screen refreshes? I'd like to
knw about the triangle fill, I'm sure I can find published tessalate
algorithms on the net.


--
Luc Le Blanc


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to