summaryrefslogtreecommitdiffstats
path: root/src/object/sp-image.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-20 10:34:30 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-21 11:02:56 +0000
commit50b3c18850a43b962ed15855abdb337c846550a8 (patch)
tree147a86fc1d123f44bfd9927448ab2ecf4bfd1bdc /src/object/sp-image.cpp
parentMerge branch 'select-page' of gitlab.com:bobqwatson/inkscape (diff)
downloadinkscape-50b3c18850a43b962ed15855abdb337c846550a8.tar.gz
inkscape-50b3c18850a43b962ed15855abdb337c846550a8.zip
Move global functions into SPPrintContext methods.
Diffstat (limited to 'src/object/sp-image.cpp')
-rw-r--r--src/object/sp-image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-image.cpp b/src/object/sp-image.cpp
index cdbe0ef4a..2b38995df 100644
--- a/src/object/sp-image.cpp
+++ b/src/object/sp-image.cpp
@@ -479,7 +479,7 @@ void SPImage::print(SPPrintContext *ctx) {
Geom::Translate tp(vx, vy);
Geom::Scale s(this->sx, this->sy);
t = s * tp;
- sp_print_image_R8G8B8A8_N(ctx, px, w, h, rs, t, this->style);
+ ctx->image_R8G8B8A8_N(px, w, h, rs, t, this->style);
delete pb;
}
}