[cairo] Should this code work?
fltk at functionalfuture.com
Tue Dec 28 05:29:39 PST 2004
On Mon, 2004-12-27 at 21:59 -0500, Chris wrote:
> I'm doing multiple calls to cairo_scale, cairo_set_target_image, and
> svg_cairo_render without creating new contexts.
> It runs for about 3 or 4 iterations then it either segfaults or goes to
> 100% CPU usage. The first 3 or 4 renderings are not actually rescaled
That last example wasn't really accurate. I'm pulling code from my
other project to try and make the problem easier to test and I didn't
include all the code.
And it doesn't seem to crash on all svg images.
Here is the code:
Here is one of my svg images that it doesn't work with:
It does 5 iterations and then goes to 100% CPU on my system.
More information about the cairo