summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b18eff4)
raw | patch | inline | side by side (parent: b18eff4)
author | rwst <rwst@users.sourceforge.net> | |
Fri, 19 May 2006 15:31:05 +0000 (15:31 +0000) | ||
committer | rwst <rwst@users.sourceforge.net> | |
Fri, 19 May 2006 15:31:05 +0000 (15:31 +0000) |
src/display/nr-arena-shape.cpp | patch | blob | history |
index 8d5a48be8e45ed8dd39b153d08d224d892c34bc2..ae59605f2346cad9d034eaf7a022a3745fc786a3 100644 (file)
#include <libnr/nr-path.h>
#include <libnr/nr-pixops.h>
#include <libnr/nr-matrix-ops.h>
+#include <libnr/nr-matrix-fns.h>
#include <libnr/nr-blit.h>
#include <livarot/Path.h>
#include <livarot/float-line.h>
@@ -390,7 +391,7 @@ nr_arena_shape_update_fill(NRArenaShape *shape, NRGC *gc, NRRectL *area, bool fo
if ((shape->_fill.paint.type() != NRArenaShape::Paint::NONE || force_shape) &&
((shape->curve->end > 2) || (SP_CURVE_BPATH(shape->curve)[1].code == NR_CURVETO)) ) {
if (TRUE || !shape->fill_shp) {
- NR::Matrix cached_to_new;
+ NR::Matrix cached_to_new = NR::identity();
int isometry = 0;
if ( shape->cached_fill ) {
if (shape->cached_fctm == gc->transform) {
if (NR_ARENA_ITEM(shape)->arena->rendermode == RENDERMODE_OUTLINE)
width = 0.5; // 1 pixel wide, independent of zoom
- NR::Matrix cached_to_new;
+ NR::Matrix cached_to_new = NR::identity();
int isometry = 0;
if ( shape->cached_stroke ) {