QPen::setCosmetic(),
Uwe
QPen::setCosmetic(),
Uwe
Hi Uwe, thanks for your reply,
I'm trying to apply your suggestion.
This is the code that I use in my QwtPlot class,
when I print on my printer I get ever thin lines.
Qt Code:
pen_2.setCosmetic(false); d_crv2->setPen(pen_2); d_crv2->attach(this);To copy to clipboard, switch view to plain text mode
Thanks
maluedo
P.S.
the printpreview it's good, but when I print on the printer I get thin lines!
Last edited by maluedo; 11th March 2010 at 15:57.
I'm not sure what you mean by "preview", but I checked the bode example in combination with PDF, Postscript and SVG. In all cases the curve line was scaled according to the resolution of the paint device - looking like on screen.
I also checked Qwt from trunk, that doesn't need to scale manually anymore ( because of using a double based render engine ). The output of the bode example of this version looks ok too.
Try to print a PDF document first and check the lines in a PDF viewer. If they are ok print the PDF document to your printer. Are your lines better then ?
Uwe
maluedo (12th March 2010)
Dear Uwe,
I miss to said that I was building with qwt 5.2, I got the trunk revision and all it's working
fine.
Thanks for your patience
maluedo
Bookmarks