[cairo] Strange problem with includes

Ricardo Markiewicz gazer.arg at gmail.com
Wed Sep 6 17:31:06 PDT 2006


The attached test-case compile and execute correctly. The SVG
generated is correctly and I can open with EOG without problems.

But, if I remove the #include <cairo/cairo-svg.h> the program compile
(with a gcc warning), the program run fine, but the generated SVG has
width=0 and height=0.

Looking at the cairo.h I see no reference to cairo-svg.h, is that intentional?

In case this help : gcc version 4.1.2

-- 
--
Ricardo Markiewicz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svg_test.c
Type: text/x-csrc
Size: 407 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060906/200d397d/svg_test.c


More information about the cairo mailing list