Code

Rendering optimisation, which gives best results for zoomed in drawings with complex...
authorknutux <knutux@users.sourceforge.net>
Wed, 19 Apr 2006 05:14:26 +0000 (05:14 +0000)
committerknutux <knutux@users.sourceforge.net>
Wed, 19 Apr 2006 05:14:26 +0000 (05:14 +0000)
commitb64d0121f71311f8f4439bd85e773e8a22f12185
treef860995235a5dc981868ab4f3482e861322ffe01
parent1d065be3b71aaa1681499ecc585b6b2d7f729663
Rendering optimisation, which gives best results for zoomed in drawings with complex (multi-node) paths. Optimisation focus - eliminating cubicTo and LineTo nodes outside of visible area, so no unneeded calculations is needed and less memory is consumed (this avoids crashes which were occurring previously if zooming into a complex drawing)
19 files changed:
src/display/canvas-arena.cpp
src/display/nr-arena-glyphs.cpp
src/display/nr-arena-item.cpp
src/display/nr-arena-shape.cpp
src/display/nr-arena-shape.h
src/display/nr-arena.cpp
src/display/nr-gradient-gpl.cpp
src/display/sp-canvas.cpp
src/display/sp-canvas.h
src/display/sp-ctrlline.cpp
src/libnr/nr-pixblock.cpp
src/libnr/nr-pixblock.h
src/livarot/Path.cpp
src/livarot/Path.h
src/livarot/PathConversion.cpp
src/livarot/Shape.cpp
src/livarot/Shape.h
src/livarot/ShapeMisc.cpp
src/livarot/ShapeSweep.cpp