> 
>                               // POINTS
>                               lePT = thisSVG.getElementById("POINT");
>                               tempMatrixPT = lePT.getAttributeNS(null, 
> "transform").slice(7,-1).split(" ");
>                               newECHpt = 1/newECH;
>                               tempMatrixPT[0] = newECHpt;
>                               tempMatrixPT[3] = newECHpt;
>                               //tempMATRIXPT[4] = How to keep the position ?
>                               //tempMATRIXPT[5] = How to keep the position ?
>                               newMatrixPT = "matrix(" +  tempMatrixPT.join(' 
> ') + ")";
>                               lePT.setAttributeNS(null, "transform", 
> newMatrixPT);
>                       }

=====================================================================

Hi Al,

Try setting your two commented lines like so:

    tempMatrixPT[4] = 230*(1-newECHpt); // How to keep the position ?
    tempMatrixPT[5] = 275*(1-newECHpt); //How to keep the position ?

There is also a considerable amount of unnecessary calculations in your script.

Regards,
Israel





------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to