[IAEP] another svg icons issue
Bill Kerr
billkerr at gmail.com
Sun Sep 6 05:43:21 EDT 2009
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 <tomeu at sugarlabs.org> wrote:
> On Thu, Aug 27, 2009 at 12:43, Bill Kerr<billkerr at 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/iaep/attachments/20090906/5a793639/attachment.htm
More information about the IAEP
mailing list