PDA

View Full Version : QPainterPath and scale()



edwardc
17th November 2010, 16:38
hi,

I found that when I draw a QPainterPath into QGraphicsScene with specific width in QPen, the path width will altered by calling scale(), but the width will be leave untouched if width is 1.

Is there any possible solution about a thick QPainterPath without adjustment by calling scale() ?

thanks.

edwardc
18th November 2010, 10:03
I found QPen::setCosmetic(true) will solve this issue.