[cairo] Re: surface device offsets and clipping

Vladimir Vukicevic vladimirv at gmail.com
Wed Nov 23 13:47:27 PST 2005


This test works fine if the clip is replaced with a mask-based clip
(e.g. a triangle from 50, 50 -> 50, 150 -> 150, 50), so it's
region-based clipping that's going bad, since it's not going through
_cairo_gstate_copy_transformed_pattern which applies the surface
device offsets.

    - Vlad

On 11/23/05, Vladimir Vukicevic <vladimirv at gmail.com> wrote:
> The attached test renders a 50x50 green rectangle in the upper left
> corner of a 100x100 red surface; I'd expect the full surface to be
> green (which is what you get if you remove the clip call).  I'm not
> sure if I'm just expecting the wrong thing to happen here or if this
> is a real bug..
>
>     - Vlad
>
>
>


More information about the cairo mailing list