[cairo-commit] src/cairo-image-surface.c
Benjamin Otte
company at kemper.freedesktop.org
Mon May 3 06:28:18 PDT 2010
src/cairo-image-surface.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 5672b7a18a34456862977a1cf678bf6575dcc3f4
Author: Benjamin Otte <otte at redhat.com>
Date: Mon May 3 13:13:27 2010 +0200
fallback: get src_x/y variables right when compositing traps
diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c
index 387b083..21951c2 100644
--- a/src/cairo-image-surface.c
+++ b/src/cairo-image-surface.c
@@ -4243,7 +4243,9 @@ _cairo_image_surface_composite_trapezoids (cairo_operator_t op,
}
_cairo_pattern_init_static_copy (&source_pattern.base, pattern);
- cairo_matrix_translate (&source_pattern.base.matrix, src_x, src_y);
+ cairo_matrix_translate (&source_pattern.base.matrix,
+ src_x - extents.bounded.x,
+ src_y - extents.bounded.y);
info.traps = traps;
info.num_traps = num_traps;
More information about the cairo-commit
mailing list