summaryrefslogtreecommitdiffstats
path: root/src/sp-image.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-08-27 10:20:13 +0000
committerKrzysztof Kosinski <tweenk.pl@gmail.com>2011-08-27 10:20:13 +0000
commit84194ec2d0b9830437a5470320422265d5dd8c35 (patch)
tree120f0d8dca7933dad09e455dbc4ec91f33f75029 /src/sp-image.cpp
parentRefactor SPItem bounding box methods: remove NRRect usage and make code (diff)
downloadinkscape-84194ec2d0b9830437a5470320422265d5dd8c35.tar.gz
inkscape-84194ec2d0b9830437a5470320422265d5dd8c35.zip
Remove NRRect use from the extension system
(bzr r10582.1.2)
Diffstat (limited to 'src/sp-image.cpp')
-rw-r--r--src/sp-image.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-image.cpp b/src/sp-image.cpp
index 3ae2b6e63..1bfcc90e5 100644
--- a/src/sp-image.cpp
+++ b/src/sp-image.cpp
@@ -1095,7 +1095,7 @@ static void sp_image_print( SPItem *item, SPPrintContext *ctx )
Geom::Translate ti(0.0, -1.0);
t = s * tp;
t = ti * t;
- sp_print_image_R8G8B8A8_N(ctx, px, w, h, rs, &t, item->style);
+ sp_print_image_R8G8B8A8_N(ctx, px, w, h, rs, t, item->style);
} else { // preserveAspectRatio
double vw = image->width.computed / image->sx;
double vh = image->height.computed / image->sy;
@@ -1116,7 +1116,7 @@ static void sp_image_print( SPItem *item, SPPrintContext *ctx )
Geom::Translate ti(0.0, -1.0);
t = s * tp;
t = ti * t;
- sp_print_image_R8G8B8A8_N(ctx, px + trimx*pixskip + trimy*rs, trimwidth, trimheight, rs, &t, item->style);
+ sp_print_image_R8G8B8A8_N(ctx, px + trimx*pixskip + trimy*rs, trimwidth, trimheight, rs, t, item->style);
}
}
}