>>> You can easily simulate a thick line by two lines: >>> >>> Line(x1 ,y1 ,x2 ,y2 ) >>> Line(x1+1,y1+1,x2+1,y2+1) >> >> >> Thanks, that should do it for now. Could have thought of that myself. > >Hmm, silly me. Doesn't work. It always depends on the direction, so in >some direction the lines overlay, in other directions they have spaces >between them.
I draw my lines thickly by rendering five lines -- the original plus a duplicate offset one pixel in the four axis directions. E.g., WinDrawLine(x0, y0, x1, y1); WinDrawLine(x0+1, y0, x1+1, y1); WinDrawLine(x0, y0+1, x1, y1+1); WinDrawLine(x0-1, y0, x1-1, y1); WinDrawLine(x0, y0-1, x1, y1-1); If performance is an issue, you could draw fewer lines by testing what direction your line was oriented and determining which lines need to be rendered to avoid the effects you're having, but I didn't bother. My arrowheads are just drawn with more lines. Rich -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
