[cairo] cairo_rectangle and clipping -- doesn't work?
Gustavo J. A. M. Carneiro
gjc at inescporto.pt
Mon Jun 13 13:20:08 PDT 2005
On Mon, 2005-06-13 at 08:46 -0700, Carl Worth wrote:
> On Mon, 13 Jun 2005 16:15:08 +0100, "Gustavo J. A. M. Carneiro" wrote:
> > I have discovered that cairo_rectangle() followed by cairo_clip()
> > doesn't seem to work for clipping to a rectangle. I had to manually
> > construct a rectangle using move_to and a bunch of line_to's. This is a
> > bit unexpected. Is it a known limitation, or a bug?
>
> That would be a bug, and something I've never seen before. Various
> tests in the test suite use cairo_rectangle(); cairo_clip();
> successfully.
>
> Can you provide a minimal test case that demonstrates the bug?
I can't... :o
Try as I may, I just can't reproduce it anymore. I no longer have the
original code that triggered it, but I tried to recreate that code and I
just can't trigger the bug. Well, most likely I was just tired and
making some stupid mistake with my code...
Regards
--
Gustavo J. A. M. Carneiro
<gjc at inescporto.pt> <gustavo at users.sourceforge.net>
The universe is always one step beyond logic
More information about the cairo
mailing list