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

"Henry (Yu) Song - SISA" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <3955FA337689574EB32F94B12A7E6E9E16363D78@sisaex01sj>
commit 22de89ece8ab728733b41159f3f1e02f18ce47b6
Author: Henry Song <[email protected]>
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,
 				       &path,
 				       clip_path->fill_rule,
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.