[cairo-commit] src/cairo-quartz-surface.c
Vladimir Vukicevic
vladimir at kemper.freedesktop.org
Tue Oct 7 10:18:50 PDT 2008
src/cairo-quartz-surface.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 4ae37a97b3e415591caa611533f44db5a29cfb72
Author: Vladimir Vukicevic <vladimir at pobox.com>
Date: Tue Oct 7 10:18:41 2008 -0700
[quartz] initialize do_reflect field correctly for pattern draws
diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c
index 658ce88..1c8bbaa 100644
--- a/src/cairo-quartz-surface.c
+++ b/src/cairo-quartz-surface.c
@@ -890,7 +890,6 @@ SurfacePatternDrawFunc (void *ainfo, CGContextRef context)
/* Then unflip the Y-axis again, and draw the image above the point. */
CGContextScaleCTM (context, 1, -1);
CGContextDrawImage (context, info->imageBounds, info->image);
-
}
}
@@ -956,8 +955,8 @@ _cairo_quartz_cairo_repeating_surface_pattern_to_quartz (cairo_quartz_surface_t
* image surface that it's backed by.
*/
info->image = image;
-
info->imageBounds = CGRectMake (0, 0, extents.width, extents.height);
+ info->do_reflect = FALSE;
pbounds.origin.x = 0;
pbounds.origin.y = 0;
More information about the cairo-commit
mailing list