-
QPainter & QPrinter
Hi,
I have an application where I am drawing braces ( '{' & '}' ) using drawLine and drawArc functions of QPainter. On the screen everything looks good. But when I print, the positions of the lines and the arcs are not the same as they appear on the screen. I am using the same paint function for both painting on the screen and on the printer.
Can someone please tell me, how can I fix this?
Thanks a lot.
-
Re: QPainter & QPrinter
Maybe you could use QPainterPath instead? The problem might be with resolutions or coordinate system.
-
Re: QPainter & QPrinter
I am extremely sorry.
I forgot to tell that I am using Qt 3.3.6
Thanks.
-
Re: QPainter & QPrinter
Could you show the code you have written?