summaryrefslogtreecommitdiffstats
path: root/src/object/sp-item.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2018-06-21 18:18:15 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2018-06-21 18:18:15 +0000
commit74c2ed472c8e5b7070e9702fcf749bb19dadac99 (patch)
treefd617c1a35ab8f2b8add246f95ef00eac857f0b2 /src/object/sp-item.cpp
parentMerge branch 'transf_mat_3x4' of gitlab.com:linkmauve/inkscape (diff)
parentMove global functions into SPImage methods. (diff)
downloadinkscape-74c2ed472c8e5b7070e9702fcf749bb19dadac99.tar.gz
inkscape-74c2ed472c8e5b7070e9702fcf749bb19dadac99.zip
Merge branch 'sp_print' of gitlab.com:linkmauve/inkscape
Diffstat (limited to 'src/object/sp-item.cpp')
-rw-r--r--src/object/sp-item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp
index 286886a1a..ec92c655f 100644
--- a/src/object/sp-item.cpp
+++ b/src/object/sp-item.cpp
@@ -1023,9 +1023,9 @@ void SPItem::invoke_print(SPPrintContext *ctx)
{
if ( !isHidden() ) {
if (!transform.isIdentity() || style->opacity.value != SP_SCALE24_MAX) {
- sp_print_bind(ctx, transform, SP_SCALE24_TO_FLOAT(style->opacity.value));
+ ctx->bind(transform, SP_SCALE24_TO_FLOAT(style->opacity.value));
this->print(ctx);
- sp_print_release(ctx);
+ ctx->release();
} else {
this->print(ctx);
}