[cairo-commit] src/cairo-quartz-surface.c
Brian Ewins
brianewins at kemper.freedesktop.org
Sun Mar 25 15:38:41 PDT 2007
src/cairo-quartz-surface.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
New commits:
diff-tree c8e37af4b06fffe1aa1a1c3d2cd6481cc2cf8938 (from d2cdd5eba801fc5f696d1095f237ae53c54b4e2a)
Author: Brian Ewins <Brian.Ewins at gmail.com>
Date: Sun Mar 25 23:31:40 2007 +0100
[quartz] fix order of fields in matrix conversion
There was a typo flipping the xy and yx fields when a
cairo matrix was converted to a quartz matrix.
diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c
index 33f3a10..3617b1e 100644
--- a/src/cairo-quartz-surface.c
+++ b/src/cairo-quartz-surface.c
@@ -286,8 +286,8 @@ _cairo_quartz_cairo_matrix_to_quartz (co
CGAffineTransform *dst)
{
dst->a = src->xx;
- dst->b = src->xy;
- dst->c = src->yx;
+ dst->b = src->yx;
+ dst->c = src->xy;
dst->d = src->yy;
dst->tx = src->x0;
dst->ty = src->y0;
More information about the cairo-commit
mailing list