Graph unit's lines are drawn wrong when line style is ThickWidth
Original Reporter info from Mantis: Bloodbatgot
-
Reporter name:
Original Reporter info from Mantis: Bloodbatgot
- Reporter name:
Description:
When drawing lines using the graph unit and using SetLineStyle(SolidLn, 0, ThickWidth) lines are either drawn incomplete (the bottom pixels begin drawing at the last pixel) or are "leaking" on the right side, this also happens for the go32v2 target and have tested under Windows 7 as well. Turbo Pascal draws such lines properly. (I have attached graphics from GO32V2, Win32 and a TP compiled version).
Steps to reproduce:
Create a simple program, use the graph unit, init graphics, change line style with SetLineStyle(SolidLn, 0, ThickWidth) and use Line to draw a line anywhere. A sample program is attached.
Mantis conversion info:
- Mantis ID: 35760
- OS: Windows
- OS Build: 10
- Platform: PC
- Version: 3.0.4
- Fixed in version: 3.3.1
- Fixed in revision: 42327 (#a2ce2cea)