[cairo] Gtk+ Cairo-based SVG canvas?
bryce at osdl.org
Wed Dec 22 12:17:30 PST 2004
On Wed, 22 Dec 2004, Carl Worth wrote:
> On Wed, 22 Dec 2004 10:27:23 -0800 (PST), Bryce Harrington wrote:
> > Is there a Gtk+ (or Gtkmm) canvas widget implementing the Cairo svg
> > engine as a drawing surface?
> Not any that I'm aware of. A good cairo-based canvas is something that
> I would like to see.
> But wait, you said SVG. Did you want a full canvas or just a Gtk+
> widget that uses cairo to draw an SVG? The latter might be a pretty
> simple thing to hook up given that gtk-cairo and libsvg-cairo already
Yes, full canvas. The Gtk+ widget to draw an SVG would be useful (and I
was looking at gtk-cairo earlier), however we do already have one of
those in Inkscape (for file previews, icons, etc.) although it might be
worth trying out too. But I was thinking more about the canvas itself.
We've had folks ask about SVG canvases, and others asking about using
the Cairo renderer, so since the gtkmm work I'm doing is pretty
experimental to begin with, it'd be a good opportunity to experiment
with plugging cairo in too.
I don't know if I have time to actually create a cairo-based Gtk+ canvas
myself, but if anyone else is working on it (or interested in
prototyping something), maybe there's some collaboration potential. :-)
More information about the cairo