@yahoogroups.com svg-developers%40yahoogroups.com
Subject: [svg-developers] problem regarding transform
Hi all...
I would like to ask whether it is possible to combine transform (scale)
and transform (translate) in 1 javascript statement?
For example:
shape1.setAttributeNS(null,transform,scale
A perhaps easier way to do this is
transform=translate(-100,-50),scale(1.5)
or in your case:
shape1.setAttributeNS(null,transform,translate(+positionx+,+positiony+),scale(+scaleLevel+));
The trick here is that the transformations are performed from right to left,
so you may have to do some
Message-
From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of achio_84
Sent: Thursday, 27 July 2006 10:52 AM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] problem regarding transform
Hi all...
I would like to ask whether it is possible to combine transform
Hi all...
I would like to ask whether it is possible to combine transform (scale)
and transform (translate) in 1 javascript statement?
For example:
shape1.setAttributeNS(null,transform,scale(+scaleLevel+));
shape1.setAttributeNS(null,transform,translate
(+positionx+,+positiony+));
Is there a
On 7/26/06, achio_84 [EMAIL PROTECTED] wrote:
Hi all...
I would like to ask whether it is possible to combine transform (scale)
and transform (translate) in 1 javascript statement?
For example:
shape1.setAttributeNS(null,transform,scale(+scaleLevel+));
Hi, achio-
achio_84 wrote:
|
| Hi all...
| I would like to ask whether it is possible to combine
| transform (scale)
| and transform (translate) in 1 javascript statement?
| For example:
|
| shape1.setAttributeNS(null,transform,scale(+scaleLevel+));
|
Message-
From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Doug Schepers
Sent: Thursday, 27 July 2006 12:32 PM
To: svg-developers@yahoogroups.com
Subject: RE: [svg-developers] problem regarding transform
Hi, achio-
achio_84 wrote:
|
| Hi all...
| I would like to ask
7 matches
Mail list logo