PDA

View Full Version : DashLine drawing poor performance



jecaro
11th August 2010, 13:46
Hi there,

I'm working on a project that use Qwt massively for drawing plots and it's been working quite well so far. My application offers to the user the possibility to customize the look of the plots. I've found out that there is a problem when zooming on a curve that uses a QPen with the style Qt::DashLine. It takes ages to draw ! Sometimes it is so long that I have to kill my process.
This present a problem that might be related to mine :

http://developer.qt.nokia.com/faq/answer/drawing_dotted_lines_seems_slow_do_you_have_a_solu tion_for_this

So it seems like a Qt limitation. Has anyone got this problem to ? The link is talking about a workaround for dotted line, but what about a dashed line ?
Any idea greatly appreciated,
cheers,

Jean-Charles