<div class="gmail_quote">svg paths for arcs don't accept decimal values</div><div class="gmail_quote">the icon ends up being smudged all over the place in a green colour</div><div class="gmail_quote">an example of something that should work but doesn't in sugar</div>
<div class="gmail_quote"><br></div><div class="gmail_quote"><div class="gmail_quote"><!-- Arms CREATES ERROR , paths don't take decimals in sugar, replace with beziers</div><div class="gmail_quote"><path d="M 18 35 A .5 .1 15 0 0 18 38" fill="red" stroke="&stroke_color;"/></div>
<div class="gmail_quote"><path d="M 37 35 A .5 .1 -15 0 1 37 38" fill="&fill_color;" stroke="&stroke_color;"/>--></div><div class="gmail_quote"><br></div><div class="gmail_quote">
the .5 and .1 values cause the problem</div><div class="gmail_quote">decimal values work ok for other svg elements</div><div class="gmail_quote"><br></div></div><div class="gmail_quote"><br></div><div class="gmail_quote">
On Thu, Aug 27, 2009 at 9:16 PM, Tomeu Vizoso <span dir="ltr"><<a href="mailto:tomeu@sugarlabs.org">tomeu@sugarlabs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Thu, Aug 27, 2009 at 12:43, Bill Kerr<<a href="mailto:billkerr@gmail.com">billkerr@gmail.com</a>> wrote:<br>
> Sugar does not support SVG animations? I just tried to replace the XO icon<br>
> with an SVG animation as an extension of<br>
> the <a href="http://en.flossmanuals.net/Sugar/8_4/ModifyingSugar" target="_blank">http://en.flossmanuals.net/Sugar/8_4/ModifyingSugar</a> exercise - the icon<br>
> replaced but was not animated.<br>
> I'm seeking confirmation that this is correct and would be interested in the<br>
> reason too<br>
<br>
</div></div>Sugar uses librsvg to render all SVGs, I'm not sure which are the<br>
capabilities of this library regarding animations.<br>
<br>
Regards,<br>
<br>
Tomeu<br>
<br>
> _______________________________________________<br>
> IAEP -- It's An Education Project (not a laptop project!)<br>
> <a href="mailto:IAEP@lists.sugarlabs.org">IAEP@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/iaep" target="_blank">http://lists.sugarlabs.org/listinfo/iaep</a><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
«Sugar Labs is anyone who participates in improving and using Sugar.<br>
What Sugar Labs does is determined by the participants.» - David<br>
Farning<br>
</font></blockquote></div><br><br>