If speed is the main issue I would propose sth. more trivial and thus probably more speedy:
You know the 4 coordinates of your trapezoid as (x,y) coords. You know the max. height h and the max. width w. To fill the area, you just call h times WinDrawLine( x1, y, x2, y++ ) and paint the area from, say top to bottom. You just increment y with each iteration. The only things you have to calculate here are the x1 and x2 coordinates for each line. But this should be no more than 2*h float operations, so even this should be accomplished in less than 1/100 of a sec. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
