If you want an example of how to use SWIG, check out the Wiki page <a href="http://wiki.laptop.org/go/Extending_Python_with_C%2B%2B">http://wiki.laptop.org/go/Extending_Python_with_C%2B%2B</a><br><br>Or, check out the extension module in Bounce: <a href="http://dev.laptop.org/git?p=activities/3dpong;a=tree;f=src;hb=HEAD">http://dev.laptop.org/git?p=activities/3dpong;a=tree;f=src;hb=HEAD</a><br>
<br><div class="gmail_quote">On Thu, Dec 11, 2008 at 8:36 AM, Jonas Smedegaard <span dir="ltr"><<a href="mailto:dr@jones.dk">dr@jones.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div><div class="Ih2E3d">On Tue, Dec 09, 2008 at 03:39:53AM -0500, Bernie Innocenti wrote:<br>
>Jonas Smedegaard wrote:<br>
>>> It seems GDK supports SVG through a loader plugin. Can we put the<br>
>>> blame on librsvg for this slowness? Are there alternative SVG<br>
>>> renderers we could try?<br>
>><br>
>> There's wxSVG, using libagg: <a href="http://www.wxsvg.org/" target="_blank">http://www.wxsvg.org/</a><br>
>><br>
>> It has Python bindings, it seems.<br>
><br>
>Could you do some benchmarking between the two?<br>
><br>
>I'm not sure we'd ever want to add a dependency on libagg and<br>
>wxWindows, but it would give an idea of how good or bad our current<br>
>stack is.<br>
><br>
>The gnash folks, for instance, report huge performance gains by<br>
>switching from cairo to antigrain.<br>
<br>
</div>Sorry, it is above my head: I stranded at what sems to be a need to<br>
regenerate Python wrapper code using SWIG.<br>
<br>
If anyone's interested in this, I'd be happy to pass on my experiences<br>
until I stranded.<br>
<div class="Ih2E3d"><br>
<br>
- Jonas<br>
<br>
- --<br>
* Jonas Smedegaard - idealist og Internet-arkitekt<br>
* Tlf.: +45 40843136 Website: <a href="http://dr.jones.dk/" target="_blank">http://dr.jones.dk/</a><br>
<br>
[x] quote me freely [ ] ask before reusing [ ] keep private<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
</div>iEYEARECAAYFAklBQXkACgkQn7DbMsAkQLjahQCfX9DumIsl2bYONRjMcXBu3CAY<br>
XeQAnRtiw4u+CZoIDzAzheOx3qsbWuQL<br>
=hz8l<br>
-----END PGP SIGNATURE-----<br>
<div><div></div><div class="Wj3C7c">_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</div></div></blockquote></div><br>