Re: QwtPlot line thickness
Re: QwtPlot line thickness
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.
Code:
pen_2.setCosmetic(false);
d_crv2->setPen(pen_2);
d_crv2->attach(this);
Thanks
maluedo
P.S.
the printpreview it's good, but when I print on the printer I get thin lines!
Re: QwtPlot line thickness
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
Re: QwtPlot line thickness
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