[Gambas-devel] SVG support for GTK+

Daniel Campos dcamposf at ...176...
Sat Sep 16 22:12:06 CEST 2006


Easy:

Change configure.ac to accept that version, it is a good test that I can not do!

If it does not work and you are using debian sarge, use the gnuLinEx
repositories:

deb http://apt.linex.org/linex2006 sarge linex2006




Daniel

2006/9/16, Benoit Minisini <gambas at ...1...>:
> On Saturday 16 September 2006 19:14, Daniel Campos wrote:
> > Hi:
> >
> > I've created a component for gb.gtk, called gb.gtk.svg which uses
> > librsvg to load SVG files.
> >
> > At this moment it implements all that librsvg can do:
> >
> > -> Loading a SVG file
> > -> Get a Picture or an Image from it.
> >
> > In the future it will be expanded when librsvg really supports other
> > features from its API:  extracting metadata, loading different layers
> > from a SVG file and setting different DPIs for X and Y coordinates.
> > These functions do nothing at this moment. When I also implement a
> > Cairo component, they will be able to work together to manage these
> > vectorial drawings.
> >
> > Due to all those plans, and the need of an additional library , I do
> > not want to insert it in the current gb.gtk component as a "Drawing"
> > class like the gb.qt one.
> >
> > And apart from that, I use only the Image and Picture interfaces from
> > Gambas, so other components (currently I think they're gb.qt,
> > gb.opengl, gb.sdl) can use it to get SVG Pictures and Images from a
> > SVG file (of course gb.qt can do it with the Drawing class, but it
> > works!)
> >
> > At this moment librsvg can only load files, not saving them from any
> > possible source.
> >
> > The component is stable at this moment, no need to add Alpha or Beta
> > warnings. I've used the 2.14.3 version of librsvg2, so It won't work
> > with previous versions. Libsrvg uses cairo, pango and GTK+ internally.
> >
> > Release:
> >
> > http://gambas.gnulinex.org/gtk/gb.gtk.svg.1.0.0.tar.bz2
> >
> >
> >
> >
> > Daniel
> >
>
> I can't compile it, I have only librsvg2 2.9.5...
>
> --
> Benoit Minisini
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>




More information about the Devel mailing list