~danieljabailey/inkscape/arc_node_editor

« back to all changes in this revision

Viewing changes to src/display/sp-canvas.cpp

  • Committer: Krzysztof Kosiński
  • Date: 2016-05-08 05:55:11 UTC
  • Revision ID: tweenk.pl@gmail.com-20160508055511-3fnev8gfoyr0k4i3
Clarify license.

Most Inkscape source code does not specify GPL version, so it is essentially
GPL v1+ under section 9. Authors of the few GPL v2 only files were contacted
and all agreed to relicense under GPL v2 or later. We also have a few files
copies from GIMP, which are GPL v3+, so the complete program is available
under GPL v3 or later.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1159
1159
        allocation->width, allocation->height);
1160
1160
    if (canvas->_backing_store) {
1161
1161
        cairo_t *cr = cairo_create(new_backing_store);
1162
 
        cairo_set_source_surface(cr, canvas->_backing_store, 0, 0);
 
1162
        cairo_translate(cr, -canvas->_x0, -canvas->_y0);
1163
1163
        cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
 
1164
        cairo_set_source(cr, canvas->_background);
 
1165
        cairo_paint(cr);
 
1166
        cairo_set_source_surface(cr, canvas->_backing_store, canvas->_x0, canvas->_y0);
1164
1167
        cairo_paint(cr);
1165
1168
        cairo_destroy(cr);
1166
1169
        cairo_surface_destroy(canvas->_backing_store);