diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-20 10:34:30 +0000 |
|---|---|---|
| committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-21 11:02:56 +0000 |
| commit | 50b3c18850a43b962ed15855abdb337c846550a8 (patch) | |
| tree | 147a86fc1d123f44bfd9927448ab2ecf4bfd1bdc /src/object/sp-item.cpp | |
| parent | Merge branch 'select-page' of gitlab.com:bobqwatson/inkscape (diff) | |
| download | inkscape-50b3c18850a43b962ed15855abdb337c846550a8.tar.gz inkscape-50b3c18850a43b962ed15855abdb337c846550a8.zip | |
Move global functions into SPPrintContext methods.
Diffstat (limited to 'src/object/sp-item.cpp')
| -rw-r--r-- | src/object/sp-item.cpp | 4 |
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); } |
