[cairo] [patch] clip: transform clip path when play back recording surface

Henry (Yu) Song - SISA hsong at sisa.samsung.com
Mon Jul 23 19:05:15 PDT 2012

commit 22de89ece8ab728733b41159f3f1e02f18ce47b6
Author: Henry Song <henry.song at samsung.com>
Date:   Mon Jul 23 18:55:34 2012 -0700

    clip:  transform clip path with matrix during play back recording surface, this fixes bugs for record2x/1414x/90-paint-alpha-clip-mask test cases

diff --git a/src/cairo-clip.c b/src/cairo-clip.c
index bd70c06..0df9b06 100644
--- a/src/cairo-clip.c
+++ b/src/cairo-clip.c
@@ -536,6 +536,8 @@ _cairo_clip_intersect_clip_path_transformed (cairo_clip_t *clip,
     if (_cairo_path_fixed_init_copy (&path, &clip_path->path))
 	return _cairo_clip_set_all_clipped (clip);
+    _cairo_path_fixed_transform (&path, m);
     clip =  _cairo_clip_intersect_path (clip,

More information about the cairo mailing list