Using wide pens on anisotropic DC's
Posted on 1998-10-01
I have a DC that uses anisotropic mapping mode. I am trying to draw lines wider than 1 pixel onto this DC as follows:
ptarray.x=2; // Pen width
This works fine on Windows 95: the lines drawn with the pen look nicely "bold" compared to 1-pixel lines. However, on Windows NT, the lines drawn with the pen are HeavyPenWidth logical units wide and high. Because my mapping mode is far from the screen's aspect ratio, vertical lines are drawn wide, but horizontal lines are much thinner.
Is there a way of specifying the pen widths in device units? Changing the mapping mode is out of question.