Revision 531883
Go back to digest for 23rd April 2006Optimization in Office
Thomas Zander committed changes in /trunk/playground/office/flake:
Refactor painting.
I moved all object based code out of KoGraphicBase (into KoRectGfxObj)
I split the paint() into different methods to limit code duplication and
moved painting ordering and logic to the KoObjectManager.
Distinct advantage is that paint methods are far shorter so we reuse code :)
See comments in KoGraphicBase.h for explenations of the paint methods.
File Changes
Modified 10 files
- /trunk/playground/office/flake
- /lib/KoGraphicBase.cpp
- /lib/KoGraphicBase.h
- /lib/KoObjectManager.cpp
- /lib/KoPathGfxObj.cpp
- /lib/KoPathGfxObj.h
- /lib/KoRectGfxObj.h
- /lib/KoSelection.cpp
- /lib/KoSelection.h
- /lib/lib.pro
- /testapp/mainwindow.cpp
10 files changed in total