diff options
author | Dmitry A Ashkadov <dmitry.ashkadov@gmail.com> | 2011-08-29 13:18:11 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-08-29 13:21:32 +0300 |
commit | 87eb8f8ee8f92c78ef65af1cafd266528da089e5 (patch) | |
tree | aa6736b991940577def7cc72db674d04535b1f8d /vbahelper | |
parent | bcc461789442cc38df2801b38dc1161d2940fba6 (diff) |
Polyline improvement for Windows
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 LineTo() to draw a polyline. I
see a hack in VCL module in WinSalgraphics::drawLine(): "we must paint
the endpoint" But there is no such hack for drawPolyLine() function. A
possible solution is same as for drawLine().
Diffstat (limited to 'vbahelper')
0 files changed, 0 insertions, 0 deletions