PDA

View Full Version : pen style question



impeteperry
20th July 2006, 20:21
In Qt4 is there anyway to set the spacing of a dash or dash-dot line independent of the line width.?

thaaks

wysota
21st July 2006, 01:06
There is this thing -- QPen::setDashPattern(), maybe that's what you want.

impeteperry
21st July 2006, 16:16
Thanks, I had looked at that and mis-read it.
It seems that for a sloping line, with a width of 1 or 2, the pattern is "fuzzy" I guess this is where "anti whatever " comes in. get to thal later.

Thanks again

wysota
21st July 2006, 17:14
I guess this is where "anti whatever " comes in.
Antialiasing?

impeteperry
21st July 2006, 20:49
Yes thats what I ment of course, but not seriously.
Thinks for the spelling.
pete