aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gnome-canvas.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-17 20:40:47 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:50:01 +0800
commit71b63cbbd643ceb1eab36714f5c8883f494d15e0 (patch)
tree64e231ed427111f6591293eec1751002cb3e883b /libgnomecanvas/gnome-canvas.c
parent03ae3f4218996820a2008403d263dac7bca0f516 (diff)
downloadgsoc2013-evolution-71b63cbbd643ceb1eab36714f5c8883f494d15e0.tar
gsoc2013-evolution-71b63cbbd643ceb1eab36714f5c8883f494d15e0.tar.gz
gsoc2013-evolution-71b63cbbd643ceb1eab36714f5c8883f494d15e0.tar.bz2
gsoc2013-evolution-71b63cbbd643ceb1eab36714f5c8883f494d15e0.tar.lz
gsoc2013-evolution-71b63cbbd643ceb1eab36714f5c8883f494d15e0.tar.xz
gsoc2013-evolution-71b63cbbd643ceb1eab36714f5c8883f494d15e0.tar.zst
gsoc2013-evolution-71b63cbbd643ceb1eab36714f5c8883f494d15e0.zip
gnome-canvas: Remove gnome_canvas_w2c_affine()
It's not necessary anymore. Use gnome_canvas_w2c_matrix() instead.
Diffstat (limited to 'libgnomecanvas/gnome-canvas.c')
-rw-r--r--libgnomecanvas/gnome-canvas.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c
index 16c16512f9..d467d8f545 100644
--- a/libgnomecanvas/gnome-canvas.c
+++ b/libgnomecanvas/gnome-canvas.c
@@ -3563,32 +3563,6 @@ gnome_canvas_request_redraw (GnomeCanvas *canvas, gint x1, gint y1, gint x2, gin
}
/**
- * gnome_canvas_w2c_affine:
- * @canvas: A canvas.
- * @affine: An affine transformation matrix (return value).
- *
- * Gets the affine transform that converts from world coordinates to canvas
- * pixel coordinates.
- **/
-void
-gnome_canvas_w2c_affine (GnomeCanvas *canvas, gdouble affine[6])
-{
- gdouble zooom;
-
- g_return_if_fail (GNOME_IS_CANVAS (canvas));
- g_return_if_fail (affine != NULL);
-
- zooom = canvas->pixels_per_unit;
-
- affine[0] = zooom;
- affine[1] = 0;
- affine[2] = 0;
- affine[3] = zooom;
- affine[4] = -canvas->scroll_x1 * zooom;
- affine[5] = -canvas->scroll_y1 * zooom;
-}
-
-/**
* gnome_canvas_w2c_matrix:
* @canvas: A canvas.
* @matrix: (out): matrix to initialize