Revision 63e4e0c...

Go back to digest for 17th April 2011

Optimization in Office

Boudewijn Rempt committed changes in [calligra] /vectorshape:

cache the output of the emf/wmf vector shape

Very simple-minded cache: if the zoom level changes, the cache gets
replaced. Because it is implemented inside the shape, instead of
a KoShapeManagerPainterStrategy like the generic shape caching, we
cannot keep a cache for every active canvas. Two canvases with two
different zoom levels means no actual caching.

File Changes

Modified 2 files
  • /vectorshape
  •   plugins/VectorShape.cpp
  •   plugins/VectorShape.h
2 files changed in total