Re: [Libreoffice] DrawPolyLine on Windows

2011-08-23 Thread Dmitry. A. Ashkadov
23.08.2011 19:06, Tor Lillqvist пишет: I tried to draw polyline But on Windows... the end point is not drawn... I am not saying your patch is not useful, but just out of interest, how do you interpret the word "point" in the GDI documentation for LineTo()? Does it in fact simply mean "pixe

Re: [Libreoffice] DrawPolyLine on Windows

2011-08-23 Thread Tor Lillqvist
> I tried to draw polyline But on Windows... the end point is not drawn... I am not saying your patch is not useful, but just out of interest, how do you interpret the word "point" in the GDI documentation for LineTo()? Does it in fact simply mean "pixel"? But what if the current pen is wide

[Libreoffice] DrawPolyLine on Windows

2011-08-23 Thread Dmitry. A. Ashkadov
Hello! I tried to draw polyline But on Windows... the end point is not drawn... the main problem is WinAPI LineTo() function. MSDN says: The *LineTo* function draws a line from the current position up to, but not including, the specified point. I think WinAPI Polyline() function uses LineT