Revision 565622

Go back to digest for 30th July 2006

Optimization in Educational

David Saxton committed changes in /trunk/KDE/kdeedu/kmplot/kmplot/view.cpp:

When drawing plots, merge together segments of the curve that are roughly straight into one straight line before telling QPainter to draw it. Advantages:
- Painting is faster.
- Exporting to operation-based image formats (e.g. PDF, SVG) gives a smaller file size.
- QPaintEngines that can't handle small line segments (hello QPrintEngine!) are now happier.

File Changes

Modified 1 files
  • /trunk/KDE/kdeedu/kmplot/kmplot/view.cpp
1 files changed in total