hippo-canvas r7284 - trunk/common/hippo
- From: otaylor svn gnome org
- To: svn-commits-list gnome org
- Subject: hippo-canvas r7284 - trunk/common/hippo
- Date: Thu, 26 Jun 2008 13:52:06 +0000 (UTC)
Author: otaylor
Date: Thu Jun 26 13:52:06 2008
New Revision: 7284
URL: http://svn.gnome.org/viewvc/hippo-canvas?rev=7284&view=rev
Log:
Fix scale/translate ordering when drawing images
Modified:
trunk/common/hippo/hippo-canvas-image.c
Modified: trunk/common/hippo/hippo-canvas-image.c
==============================================================================
--- trunk/common/hippo/hippo-canvas-image.c (original)
+++ trunk/common/hippo/hippo-canvas-image.c Thu Jun 26 13:52:06 2008
@@ -398,8 +398,8 @@
cairo_rectangle(cr, x, y, w, h);
cairo_clip(cr);
- cairo_scale (cr, xscale, yscale);
cairo_translate (cr, x, y);
+ cairo_scale (cr, xscale, yscale);
cairo_set_source_surface(cr, image->surface, 0, 0);
cairo_pattern_set_extend(cairo_get_source(cr), CAIRO_EXTEND_REPEAT);
cairo_paint(cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]