[cairo] [PATCH 2/3] image: Proper handling of clip in _composite_boxes()

Chris Wilson chris at chris-wilson.co.uk
Tue Jun 21 00:44:31 PDT 2011


On Tue, 21 Jun 2011 16:23:49 +0900, Taekyun Kim <podain77 at gmail.com> wrote:
> 
> We cannot assume that given boxes are already clipped within clip
> region even when clip_region contains single rectangle. So if we
> have single rectangle clip_region, we have to manually clip boxes
> within the clip rectangle so that we can make clip region to NULL.

The boxes were meant to be clipped as they were constructed. That would
appear to be the source of your bug.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list