[evolution/rendering-cleanup] Fix matrix in gnome_canvas_shape_draw().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/rendering-cleanup] Fix matrix in gnome_canvas_shape_draw().
- Date: Fri, 29 Oct 2010 18:32:20 +0000 (UTC)
commit a8e598f984a78363335625187b2e45d88d9da37b
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Oct 28 19:26:22 2010 -0400
Fix matrix in gnome_canvas_shape_draw().
The path is in item coordinates, so we need an "i2c" matrix, not "c2i".
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 24db703..d506fc8 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]