diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-06-21 18:18:15 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-06-21 18:18:15 +0000 |
| commit | 74c2ed472c8e5b7070e9702fcf749bb19dadac99 (patch) | |
| tree | fd617c1a35ab8f2b8add246f95ef00eac857f0b2 /src/object/sp-shape.cpp | |
| parent | Merge branch 'transf_mat_3x4' of gitlab.com:linkmauve/inkscape (diff) | |
| parent | Move global functions into SPImage methods. (diff) | |
| download | inkscape-74c2ed472c8e5b7070e9702fcf749bb19dadac99.tar.gz inkscape-74c2ed472c8e5b7070e9702fcf749bb19dadac99.zip | |
Merge branch 'sp_print' of gitlab.com:linkmauve/inkscape
Diffstat (limited to 'src/object/sp-shape.cpp')
| -rw-r--r-- | src/object/sp-shape.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/object/sp-shape.cpp b/src/object/sp-shape.cpp index 1f4572428..d3fce702e 100644 --- a/src/object/sp-shape.cpp +++ b/src/object/sp-shape.cpp @@ -641,7 +641,7 @@ void SPShape::print(SPPrintContext* ctx) { if (add_comments) { gchar * comment = g_strdup_printf("begin '%s'", this->defaultLabel()); - sp_print_comment(ctx, comment); + ctx->comment(comment); g_free(comment); } @@ -656,11 +656,11 @@ void SPShape::print(SPPrintContext* ctx) { SPStyle* style = this->style; if (!style->fill.isNone()) { - sp_print_fill (ctx, pathv, i2dt, style, pbox, dbox, bbox); + ctx->fill (pathv, i2dt, style, pbox, dbox, bbox); } if (!style->stroke.isNone()) { - sp_print_stroke (ctx, pathv, i2dt, style, pbox, dbox, bbox); + ctx->stroke (pathv, i2dt, style, pbox, dbox, bbox); } /** \todo make code prettier */ @@ -737,7 +737,7 @@ void SPShape::print(SPPrintContext* ctx) { if (add_comments) { gchar * comment = g_strdup_printf("end '%s'", this->defaultLabel()); - sp_print_comment(ctx, comment); + ctx->comment(comment); g_free(comment); } } |
