PDA

View Full Version : Curve plotter widget, what's the best strategy?



Cruz
4th May 2011, 14:01
I'm planning to implement a widget for displaying curves of data plots. What I already know is that using simple widget painting do draw hundreds or thousands of little lines to represent a curve is too slow. So I see two possible approaches to do this more porfessionally.

1. Use an offscreen pixmap for drawing and reuse previously drawn parts as much as possible.

2. Use the graphics view framework.

What's your opinion? Is there maybe a third approach?

falconium
4th May 2011, 17:03
I'm using Qwt for this purpose, but I don't know much about its effectiveness. It seems to be fast to me.