Re: Scaling SVG images

"Dominic Lachowicz" <[email protected]>
Newsgroups gmane.comp.gnome.lib.librsvg.devel
Message-ID <[email protected]>
Hi,

> I have one doubt related to the dynamic scaling of SVG images.
> Using SVG images i have created an icon.
> Now suppose dynamically the icon size is changing.
> Then how does this dynamic scaling is done in librsvg library.

Look at the cairo-based rendering functions (rsvg-cairo.h). You can
apply whatever transformations you want to to the resulting cairo
surface.

Dom
-- 
Counting bodies like sheep to the rhythm of the war drums.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.