Markus, the line can be any slope, do you understand? It's practically a rotated rectangle! depending on the line coordinates.
"Markus Dresch" <[EMAIL PROTECTED]> wrote in message news:112080@palm-dev-forum... > > have a look at WinDrawRectangle, WinDrawLine and RectangleType. don't know > why someone would need a library for that. > > markus dresch (www.palmside.com) > > > "Dan Patrutiu" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > news:112079@palm-dev-forum... > > > > 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/
