Hello. This isn't a Palm specific question, but since all other
platforms have lots of graphics libraries which include about every routine,
only Palm is weak at this point. So, my quick question is:

    Having two points (x1,y1) and (x2,y2), I want to draw a thin line of
width W between the two points. Supposing I have a fillpoly routine, I need
a quick way to determine the four edges of the rectangle representing the
thin line. I want to draw the thin line as a rectangle of height W and
width - the width of the line between the 2 points.

    Anybody can give me some references? Thanks in advance.

Dan Patrutiu



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

Reply via email to