[cairo] Rendering bug when using operator "source" (ver. 1.12)

Chris Wilson chris at chris-wilson.co.uk
Wed Mar 28 17:08:54 PDT 2012


On Wed, 28 Mar 2012 20:01:18 -0400, cu <cairouser at yahoo.com> wrote:
> If you do get this fixed - would you mind posting a reply here with
> source revision to use - I'd really like to get "source" working.

commit d304f0e57be8036719c3709e2419487326369105
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Mar 29 00:32:36 2012 +0100

    composite-rectangles: Trim extents for SOURCE and CLEAR to the mask
    
    The SOURCE and CLEAR are the odd pair in Cairo's range of operators that
    are bound by the shape/mask, but are unbound by the source. This
    regularly leads to bugs as only track the bound/unbound rectangles and
    confuse the meaning when bound only by the mask.
    
    What is required is that the unbound extents in this case is only
    trimmed by the mask (the bounded extents are still the intersection of
    all).
    
    Fixes bug-source-cu
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list