diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-29 07:26:22 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-30 01:51:39 +0800 |
commit | 71811d735e20c2fdaa0d525b0a01b993155c50ef (patch) | |
tree | c96db82f9d94e7f9ced15421e43cf6fbba9ebbe3 /libgnomecanvas | |
parent | 50d5ba94a6c750a38e092317b4d2e5188899fdeb (diff) | |
download | gsoc2013-evolution-71811d735e20c2fdaa0d525b0a01b993155c50ef.tar gsoc2013-evolution-71811d735e20c2fdaa0d525b0a01b993155c50ef.tar.gz gsoc2013-evolution-71811d735e20c2fdaa0d525b0a01b993155c50ef.tar.bz2 gsoc2013-evolution-71811d735e20c2fdaa0d525b0a01b993155c50ef.tar.lz gsoc2013-evolution-71811d735e20c2fdaa0d525b0a01b993155c50ef.tar.xz gsoc2013-evolution-71811d735e20c2fdaa0d525b0a01b993155c50ef.tar.zst gsoc2013-evolution-71811d735e20c2fdaa0d525b0a01b993155c50ef.zip |
Fix matrix in gnome_canvas_shape_draw().
The path is in item coordinates, so we need an "i2c" matrix, not "c2i".
Diffstat (limited to 'libgnomecanvas')
-rw-r--r-- | libgnomecanvas/gnome-canvas-shape.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libgnomecanvas/gnome-canvas-shape.c b/libgnomecanvas/gnome-canvas-shape.c index 24db7033a3..d506fc8919 100644 --- a/libgnomecanvas/gnome-canvas-shape.c +++ b/libgnomecanvas/gnome-canvas-shape.c @@ -478,8 +478,6 @@ gnome_canvas_shape_draw (GnomeCanvasItem *item, shape = GNOME_CANVAS_SHAPE (item); cr = gdk_cairo_create (drawable); gnome_canvas_item_i2c_matrix (item, &matrix); - if (cairo_matrix_invert (&matrix)) - return; cairo_transform (cr, &matrix); cairo_append_path (cr, shape->priv->path); |