[cairo] API proposal: cairo_save/restore_path
Behdad Esfahbod
behdad at behdad.org
Tue Apr 17 00:20:23 PDT 2007
On Tue, 2007-04-17 at 09:16 +0200, Adib Taraben wrote:
>
> Hello Behdad,
>
> are you saying that to work on a PS viewer on top of cairo? I am curious
> if there is such library without gs dependency (that can probably create
> svg).
Hi Adib,
Such a library does not quite exist now. It's the missing piece to have
full cairo roundtrip for PS/PDF/SVG. However, there is a start on such
a library:
http://hieroglyph.freedesktop.org/wiki/index
Last time I checked, it was not quite usable.
I wonder if a cairo backend to gs is all we want. That would save a lot
of code, but also drags the whole gs dependency.
> That feature you describe will it optimize drawings with inkscapes clone
> object (I think it is a svg href)?
Not really. We are still not working with paths as objects in cairo.
The proposal is just to have a stack of paths instead of one current
path.
> Adib.
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
More information about the cairo
mailing list