I'm trying to convert some old code that did extensive line graphics using an old obsolete library (Halo). Have made much progress, however I am surprised to learn that, apparently, the Qwickwin library, while it supports all manner of line drawing functions (Lineto, polygon, etc.), none of them support a line width other than the minimum 1 pixel. I need to draw lines of varying weights, say at least 2, 3, 5, 7 pixels.
I can't see any way to do this, other than to call the Windows functions instead, which means setting up pen handles, etc. Is this the best alternative available to me? Can anyone help me get started, or suggest an alternate?
I have actually written a functional replacement for Lineto, using Qwickwin routines, that draws a filled rectangle (long, very thin, 4-node polygon) as a substitute for the simple, 1-pixel-wide line. But surely there must be a better way.