[cairo] surface SVG to current context

Gerdus van Zyl gerdusvanzyl at gmail.com
Fri Dec 14 02:15:04 PST 2007


cairo can't read from SVG files only write to them. You can render a
SVG into any type of surface using librsvg.

Isn't this the pyCairo mailing list?

~Gerdus

On Dec 14, 2007 11:54 AM, Donn <donn.ingle at gmail.com> wrote:
> Update:
> I have found that the line:
> >         svgS = cairo.SVGSurface("thingum.repo/cube.svg",400,400)
> Actually *writes* to the filename and erases it. I don't know if this is
> expected behaviour, but it leaves me wondering how to get an SVG file *into*
> a Source.
>
> I'm looking for a pyCairo mailing list right now.
>
>
> \d
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>


More information about the cairo mailing list