[cairo] cairo_clip_extents returns all 0s after a cairo_clip call

Christian Kellermann ckeen at pestilenz.org
Fri Mar 9 05:33:27 PST 2012


Hi Uli!

Uli Schlachter <psychon at znc.in> writes:

> Attached is a small test program which does just what I was
> expecting. I get the following output:
>
> 0 0 200 200
> 100 100 120 120
>
> First there is no clip set, thus the clip extents are the surface's
> size. The second call then prints the result of the clip which was
> just applied.
>
> What are you doing different?

As briefly discussed on IRC I am doing exactly the same as you do and
your small test program works just fine and as expected. I suspect the
language binding (for the chicken scheme system) I am using has got a
bug, which I will have to fix.

Thanks!

Christian



More information about the cairo mailing list