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.

Chris Tutty

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

Reply via email to