On Wed, Aug 25, 2004 at 03:27:08AM -0400 Luc Le Blanc [EMAIL PROTECTED] wrote:
> > 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?


> the best way is to tesselate the polygon (you don't care about
> covex/concave),
> and fill all the triangles you created. Filling a triangle is
> simple.


Forgive my ignorance, but how do you fill a triangle. WinDrawTriangle???


-- 
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