Quick and dirty animation

Michael Smith <[email protected]>
Newsgroups gmane.comp.gnome.lib.librsvg.devel
Message-ID <[email protected]>
Hi,

I'm thinking about using rsvg (CVS snapshot) for a simple animation - just 
moving a few shapes along a circular path over time.

I figured on each frame I could use rsvg_defs_lookup() to find the shape,
compute the transform along the path, apply it to the RsvgState's affine 
matrix somehow, and render onto a Cairo surface.

I wonder if you might have any hints on how to go about modifying the 
affine transform. I don't think it would be enough to modify the RsvgState 
before the render, because the CSS properties are all re-inherited during 
the render operation and my changes would be overridden.

Also is state->personal_affine used for anything? It looks like it is set 
in a few places and never read, but I might have grepped wrong.

Thanks,
Mike


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
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.