svg paths for arcs don't accept decimal values
the icon ends up being smudged all over the place in a green colour
an example of something that should work but doesn't in sugar

<!-- Arms CREATES ERROR , paths don't take decimals in sugar, replace with
beziers
<path d="M 18 35 A .5 .1 15 0 0 18 38" fill="red" stroke="&stroke_color;"/>
<path d="M 37 35 A .5 .1 -15 0 1 37 38" fill="&fill_color;"
stroke="&stroke_color;"/>-->

the .5 and .1 values cause the problem
decimal values work ok for other svg elements


On Thu, Aug 27, 2009 at 9:16 PM, Tomeu Vizoso <to...@sugarlabs.org> wrote:

> On Thu, Aug 27, 2009 at 12:43, Bill Kerr<billk...@gmail.com> wrote:
> > Sugar does not support SVG animations? I just tried to replace the XO
> icon
> > with an SVG animation as an extension of
> > the http://en.flossmanuals.net/Sugar/8_4/ModifyingSugar exercise  - the
> icon
> > replaced but was not animated.
> > I'm seeking confirmation that this is correct and would be interested in
> the
> > reason too
>
> Sugar uses librsvg to render all SVGs, I'm not sure which are the
> capabilities of this library regarding animations.
>
> Regards,
>
> Tomeu
>
> > _______________________________________________
> > IAEP -- It's An Education Project (not a laptop project!)
> > IAEP@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/iaep
> >
>
>
>
> --
> «Sugar Labs is anyone who participates in improving and using Sugar.
> What Sugar Labs does is determined by the participants.» - David
> Farning
>
_______________________________________________
IAEP -- It's An Education Project (not a laptop project!)
IAEP@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/iaep

Reply via email to