Revision 568049
Go back to digest for 6th August 2006Optimization in Educational
David Saxton committed changes in /trunk/KDE/kdeedu/kgeography/src:
Cache the image as a pixmap. This speeds up painting a lot. Before, QPainter has to convert from QImage to QPixmap before being able to paint the map, which is an expensive process (especially for large zoomed images).
File Changes
Modified 2 files
- /trunk/KDE/kdeedu/kgeography/src
- /mapwidget.cpp
- /mapwidget.h
2 files changed in total