Is it really the case that SET_LINE_STYLE@ only works for lines that are 1 pixel wide, e.g. with SET_LINE_WIDTH@ (1), or is there a trick that I've missed?
Eddie
Welcome to our forums
Is it really the case that SET_LINE_STYLE@ only works for lines that are 1 pixel wide, e.g. with SET_LINE_WIDTH@ (1), or is there a trick that I've missed?
Eddie
The details in the help file should be consistent with the following functions that you can Google together with MSDN...
ExtCreatePen if PS_GEOMETRIC is included, CreatePen otherwise.
Maybe you need to include PS_GEOMETRIC. It's a bit confusing. Let me know how it works out.
Paul,
Thanks for the very speedy reply. I had a look round MSDN, and yes, the one 'device unit' limit is there. I've seen some advice that says work out the dash and gap sequence yourself. I had thought of that, but it is difficult round curves, and I was looking for a quick fix.
I tried multi 'device unit' thickness lines, and apart from 1 and 2, they don't look all that nice anyway, so the need to dot and dash them evaporated. I did try using 'tramlines' by overwriting with a white 1-device unit line, but it didn't produce an effect I liked either. I think I'll stick to 1 pixel lines and use colour for emphasis.
Eddie