Hi Henric,

"Henric Rosvall" <[EMAIL PROTECTED]> wrote on 10/31/2006 03:58:20 AM:

> The SvgElementEnh has stored an SVGOMMatrix with the current 
transformation, 
> and any change to the transform is first applied to that matrix, and is 
then 
> outputted as a String-attribute in the Element

   We believe there is a bug in the AnimatedTransform support that was
added for SMIL animation.  This is causing the engine to not notice 
changes
to the transform attribute for some reason.  However, neither Cameron or I 
has had
the time to track down the bug yet....

> 
>  public static synchronized void move(SvgElementEnh e, float moveX, 
float moveY)
>  {
> 
>         float newX = e.transform.getE() + moveX;
>         float newY = e.transform.getF() + moveY;
> 
>         e.transform.setE(newX);
>         e.transform.setF(newY);
> 
>         e.getElement().setAttribute("transform", "matrix("+ 
String.valueOf(e.
> transform.getA()) +" "+ String.valueOf(e.transform.getB()) +" "+ String.
> valueOf(e.transform.getC()) +" "+ String.valueOf(e.transform.getD()) +" 
"+ 
> String.valueOf(e.transform.getE()) +" "+ 
String.valueOf(e.transform.getF()) +")"); 
>  }
> 
> 
> What am I doing wrong?
> 
> Regards
> Henric Rosvall

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to