I think the only good way of doing vector graphics in clutter is with cairo. You can set up a clutter-cairo actor and draw into that, and here's a post that claims to be able to render svg files with cairo: http://cairographics.org/pyrsvg/ though I haven't tested it to see if it works or not, it's worth looking into.
Of course, if you aren't already using libsrvg/svg files, you can just use clutter-cairo to draw your vector graphics. On Fri, Dec 23, 2011 at 5:51 AM, Brian Duffy <[email protected]> wrote: > I see that animating clutter actors is pretty straight forward but I am not > sure how to go about animating vector graphics. I have seen some talk about > using librsvg. Any ideas? > > thnx > > Brian > > On Fri, Dec 23, 2011 at 8:37 AM, Josiah Baldwin <[email protected]> > wrote: >> >> Indeed, it is worth pursuing, and is, in fact, one of the super cool >> things about clutter. Check out this example I found: >> >> http://pyclutter.sourcearchive.com/documentation/1.0.0/test-animation_8py-source.html >> >> On Fri, Dec 23, 2011 at 3:45 AM, Brian Duffy <[email protected]> wrote: >> > Would it be possible to move an svg along a path and increase its size >> > as it >> > goes? The idea is to have a grid of icons; user selects one of the icons >> > and >> > it moves to a different part of the screen as it increases in size (and >> > the >> > others fade away). Is it worth pursuing? >> > >> > thnx >> > >> > Brian >> > >> > -- >> > Duff >> > >> > _______________________________________________ >> > clutter-app-devel-list mailing list >> > [email protected] >> > http://lists.clutter-project.org/listinfo/clutter-app-devel-list >> > >> _______________________________________________ >> clutter-app-devel-list mailing list >> [email protected] >> http://lists.clutter-project.org/listinfo/clutter-app-devel-list > > > > > -- > Duff _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
