From 4b221bd49a0c2c980a63779d905e8eb9b9cfa690 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 8 Sep 2009 19:02:04 +0100 Subject: [spans] Correct offsets for trapezoids Pass on the destination offset from composite_trapezoids() to composite_polygon(). --- src/cairo-spans.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cairo-spans.c b/src/cairo-spans.c index 1a516347..af3b85ff 100644 --- a/src/cairo-spans.c +++ b/src/cairo-spans.c @@ -102,8 +102,8 @@ _cairo_surface_composite_trapezoids_as_polygon (cairo_surface_t *surface, rects.src.x = src_x; rects.src.y = src_y; - rects.dst.x = 0; - rects.dst.y = 0; + rects.dst.x = dst_x; + rects.dst.y = dst_y; rects.mask.x = dst_x; rects.mask.y = dst_y; rects.width = width; -- cgit v1.2.3