SVG Developers is a Public Group with 8797 members.
 SVG Developers

 Public Group,
 8797 members
question on matrix.inverse()
Expand Messages
 Hi all,
I have read several scripts that use the inverse of a matrix.
I checked the script at
http://pilat.free.fr/asv6/script2.svg
For what can I use it ? I don´t understand this correctly :(
Maybe someone can explain this to me or give me a link where it is
explained.
Many thanks
Marcel   In svgdevelopers@yahoogroups.com, "Marcel" <Marcel.Sauer@g...>
wrote:> Hi all,
As I am concerned ...
>
> I have read several scripts that use the inverse of a matrix.
> I checked the script at
>
> http://pilat.free.fr/asv6/script2.svg
>
> For what can I use it ? I don´t understand this correctly :(
> Maybe someone can explain this to me or give me a link where it is
> explained.
Use inverse of matrix or this script?
For inverse matrix, shortly, you have coordinates system in viewBox,
say 50 and 20, when user agent draw svg in a window, these window
has coordinates system and it's not same. getScreenCTM return matrix
used to calculate coordinates in window (there is scale  uniform
with preserveAspectRatio different from none  and a translation)
matrix can be by example
1.2 0 50
0 1.2 40
So coordinates in window are 110 and 64 ...
This script calculate coordinates in viewBox from screenX and
screenY coordinates in window. So we have to use inverse of matrix
returned.
This script will be more elegant using SVGPoint (matrix 2x1) in
place of x and y ...
This coordinates are very useful to script, if you drag object you
have to give it coordinates in viewBox and not in window ...
Michel
PS I can answer more if you mail me offlist  hi Michel,
> As I am concerned ...
Hm, I didn´t mean the script. I meant the inverse.
> Use inverse of matrix or this script?
> So coordinates in window are 110 and 64 ...
Where do you get these values ?
> So we have to use inverse of matrix
And why the inverse and not the "normal" ?
> returned.
Thanks a lot
Marcel
PS: In my opinion it´s difficult to deal with the coordinates and so
on :(
 In svgdevelopers@yahoogroups.com, "pilatfr" <pilat@w...> wrote:
>  In svgdevelopers@yahoogroups.com, "Marcel" <Marcel.Sauer@g...>
> wrote:
> > Hi all,
> >
> > I have read several scripts that use the inverse of a matrix.
> > I checked the script at
> >
> > http://pilat.free.fr/asv6/script2.svg
> >
> > For what can I use it ? I don´t understand this correctly :(
> > Maybe someone can explain this to me or give me a link where it
is
> > explained.
>
> As I am concerned ...
> Use inverse of matrix or this script?
> For inverse matrix, shortly, you have coordinates system in
viewBox,
> say 50 and 20, when user agent draw svg in a window, these window
> has coordinates system and it's not same. getScreenCTM return
matrix
> used to calculate coordinates in window (there is scale  uniform
> with preserveAspectRatio different from none  and a translation)
> matrix can be by example
> 1.2 0 50
> 0 1.2 40
> So coordinates in window are 110 and 64 ...
> This script calculate coordinates in viewBox from screenX and
> screenY coordinates in window. So we have to use inverse of matrix
> returned.
> This script will be more elegant using SVGPoint (matrix 2x1) in
> place of x and y ...
> This coordinates are very useful to script, if you drag object you
> have to give it coordinates in viewBox and not in window ...
>
> Michel
>
> PS I can answer more if you mail me offlist  Hi there
When i view http://pilat.free.fr/asv6/script2.svg file in my browser i
am getting the following error
“Object does not support this property or method line 4 column 2”
what is wrong here?
Thanks
vasu
Original Message
From: pilatfr [mailto:pilat@...]
Sent: Thursday, July 17, 2003 1:28 PM
To: svgdevelopers@yahoogroups.com
Subject: [svgdevelopers] Re: question on matrix.inverse()
 In svgdevelopers@yahoogroups.com, "Marcel" <Marcel.Sauer@g...>
wrote:> Hi all,
As I am concerned ...
>
> I have read several scripts that use the inverse of a matrix.
> I checked the script at
>
> http://pilat.free.fr/asv6/script2.svg
>
> For what can I use it ? I don´t understand this correctly :(
> Maybe someone can explain this to me or give me a link where it is
> explained.
Use inverse of matrix or this script?
For inverse matrix, shortly, you have coordinates system in viewBox,
say 50 and 20, when user agent draw svg in a window, these window
has coordinates system and it's not same. getScreenCTM return matrix
used to calculate coordinates in window (there is scale  uniform
with preserveAspectRatio different from none  and a translation)
matrix can be by example
1.2 0 50
0 1.2 40
So coordinates in window are 110 and 64 ...
This script calculate coordinates in viewBox from screenX and
screenY coordinates in window. So we have to use inverse of matrix
returned.
This script will be more elegant using SVGPoint (matrix 2x1) in
place of x and y ...
This coordinates are very useful to script, if you drag object you
have to give it coordinates in viewBox and not in window ...
Michel
PS I can answer more if you mail me offlist
Yahoo! Groups Sponsor
<http://rd.yahoo.com/M=249982.3512844.4795476.1261774/D=egroupweb/S=1706
030389:HM/A=1524963/R=0/SIG=12o72ctft/*http:/hits.411web.com/cgibin/aut
oredir?camp=556&lineid=3512844∝=egroupweb&pos=HM>
<http://us.adserver.yahoo.com/l?M=249982.3512844.4795476.1261774/D=egrou
pmail/S=:HM/A=1524963/rand=321574338>

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.
[Nontext portions of this message have been removed]   In svgdevelopers@yahoogroups.com, "Marcel" <Marcel.Sauer@g...>
wrote:
> > So coordinates in window are 110 and 64 ...
With this matrix
>
> Where do you get these values ?
1.2 0 50
0 1.2 40
We calculate 1.2 * 50 + 0 * 20 + 50 and get 110
0 * 50 + 1.2 * 20 + 40 get 64
> > So we have to use inverse of matrix
The matrix calculate from viewBox to window
> > returned.
>
> And why the inverse and not the "normal" ?
inverse matrix calculate from window to viewBox
> PS: In my opinion it´s difficult to deal with the coordinates and
so on :(
Some publicity, the chapter of learn SVG about this problem is on
line at
http://www.perfectxml.com/LearnSVG.asp
( Stefan Goessner's work )
Michel  Hi,
Probably because you are viewing it with ASV3.
Mit freundlichen Grusen/Regards
Chris Peto
Freelance System Development

Resource Solutions
Hohenweg 34
63303 Dreieich  Gotzenhain
Germany
Mobile: +49 (0) 173 308 7843
Tel:+49(0) 6103 80 21 98
Web: http://www.resourcesolutions.de
mailto:CPeto@...

Member of: SPARK  SVG Programmers' Application Resource Kit
http://www.schemasoft.org/
Original Message
From: Vasu [mailto:vasu@...]
Sent: Donnerstag, 17. Juli 2003 15:05
To: svgdevelopers@yahoogroups.com
Subject: RE: [svgdevelopers] Re: question on matrix.inverse()
Hi there
When i view http://pilat.free.fr/asv6/script2.svg file in my browser i
am getting the following error
“Object does not support this property or method line 4 column 2”
what is wrong here?
Thanks
vasu
Original Message
From: pilatfr [mailto:pilat@...]
Sent: Thursday, July 17, 2003 1:28 PM
To: svgdevelopers@yahoogroups.com
Subject: [svgdevelopers] Re: question on matrix.inverse()
 In svgdevelopers@yahoogroups.com, "Marcel" <Marcel.Sauer@g...>
wrote:> Hi all,
As I am concerned ...
>
> I have read several scripts that use the inverse of a matrix.
> I checked the script at
>
> http://pilat.free.fr/asv6/script2.svg
>
> For what can I use it ? I don´t understand this correctly :(
> Maybe someone can explain this to me or give me a link where it is
> explained.
Use inverse of matrix or this script?
For inverse matrix, shortly, you have coordinates system in viewBox,
say 50 and 20, when user agent draw svg in a window, these window
has coordinates system and it's not same. getScreenCTM return matrix
used to calculate coordinates in window (there is scale  uniform
with preserveAspectRatio different from none  and a translation)
matrix can be by example
1.2 0 50
0 1.2 40
So coordinates in window are 110 and 64 ...
This script calculate coordinates in viewBox from screenX and
screenY coordinates in window. So we have to use inverse of matrix
returned.
This script will be more elegant using SVGPoint (matrix 2x1) in
place of x and y ...
This coordinates are very useful to script, if you drag object you
have to give it coordinates in viewBox and not in window ...
Michel
PS I can answer more if you mail me offlist
Yahoo! Groups Sponsor
<http://rd.yahoo.com/M=249982.3512844.4795476.1261774/D=egroupweb/S=1706
030389:HM/A=1524963/R=0/SIG=12o72ctft/*http:/hits.411web.com/cgibin/aut
oredir?camp=556&lineid=3512844∝=egroupweb&pos=HM>
<http://us.adserver.yahoo.com/l?M=249982.3512844.4795476.1261774/D=egrou
pmail/S=:HM/A=1524963/rand=321574338>

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.
[Nontext portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Nontext portions of this message have been removed]  Hi chris
I have downloaded ASV6 from the following link
<http://www.adobe.com/svg/viewer/install/beta.html>
http://www.adobe.com/svg/viewer/install/beta.html
The installation was successful, but when i try to view any SVG file
specific to ASV6 version it is generating errors. The error message
either says "Object does not support this property or method" or "Object
is required" and i am not able to do anything in the browser window. Did
i miss to install some additional software or have i installed the
correct version of the plugin?
Thanks for you help
vasu
Original Message
From: Chris Peto [mailto:CPeto@...]
Sent: Thursday, July 17, 2003 2:24 PM
To: svgdevelopers@yahoogroups.com
Subject: RE: [svgdevelopers] Re: question on matrix.inverse()
Hi,
Probably because you are viewing it with ASV3.
Mit freundlichen Grusen/Regards
Chris Peto
Freelance System Development

Resource Solutions
Hohenweg 34
63303 Dreieich  Gotzenhain
Germany
Mobile: +49 (0) 173 308 7843
Tel:+49(0) 6103 80 21 98
Web: http://www.resourcesolutions.de
mailto:CPeto@...

Member of: SPARK  SVG Programmers' Application Resource Kit
http://www.schemasoft.org/
Original Message
From: Vasu [mailto:vasu@...]
Sent: Donnerstag, 17. Juli 2003 15:05
To: svgdevelopers@yahoogroups.com
Subject: RE: [svgdevelopers] Re: question on matrix.inverse()
Hi there
When i view http://pilat.free.fr/asv6/script2.svg file in my browser i
am getting the following error
“Object does not support this property or method line 4 column 2”
what is wrong here?
Thanks
vasu
Original Message
From: pilatfr [mailto:pilat@...]
Sent: Thursday, July 17, 2003 1:28 PM
To: svgdevelopers@yahoogroups.com
Subject: [svgdevelopers] Re: question on matrix.inverse()
 In svgdevelopers@yahoogroups.com, "Marcel" <Marcel.Sauer@g...>
wrote:> Hi all,
As I am concerned ...
>
> I have read several scripts that use the inverse of a matrix.
> I checked the script at
>
> http://pilat.free.fr/asv6/script2.svg
>
> For what can I use it ? I don´t understand this correctly :(
> Maybe someone can explain this to me or give me a link where it is
> explained.
Use inverse of matrix or this script?
For inverse matrix, shortly, you have coordinates system in viewBox,
say 50 and 20, when user agent draw svg in a window, these window
has coordinates system and it's not same. getScreenCTM return matrix
used to calculate coordinates in window (there is scale  uniform
with preserveAspectRatio different from none  and a translation)
matrix can be by example
1.2 0 50
0 1.2 40
So coordinates in window are 110 and 64 ...
This script calculate coordinates in viewBox from screenX and
screenY coordinates in window. So we have to use inverse of matrix
returned.
This script will be more elegant using SVGPoint (matrix 2x1) in
place of x and y ...
This coordinates are very useful to script, if you drag object you
have to give it coordinates in viewBox and not in window ...
Michel
PS I can answer more if you mail me offlist
Yahoo! Groups Sponsor
<http://rd.yahoo.com/M=249982.3512844.4795476.1261774/D=egroupweb/S=1706
030389:HM/A=1524963/R=0/SIG=12o72ctft/*http:/hits.411web.com/cgibin/aut
oredir?camp=556&lineid=3512844∝=egroupweb&pos=HM>
<http://us.adserver.yahoo.com/l?M=249982.3512844.4795476.1261774/D=egrou
pmail/S=:HM/A=1524963/rand=321574338>

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.
[Nontext portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Nontext portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://rd.yahoo.com/M=194081.3551198.4824677.1261774/D=egroupweb/S=1706
030389:HM/A=1663535/R=0/SIG=11ps6rfef/*http:/www.ediets.com/start.cfm?co
de=30504&media=atkins> click here
<http://us.adserver.yahoo.com/l?M=194081.3551198.4824677.1261774/D=egrou
pmail/S=:HM/A=1663535/rand=161339516>

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
[Nontext portions of this message have been removed]  Hi,
Did you restart the Browser after installation?
Mit freundlichen Grusen/Regards
Chris Peto
Freelance System Development

Resource Solutions
Hohenweg 34
63303 Dreieich  Gotzenhain
Germany
Mobile: +49 (0) 173 308 7843
Tel:+49(0) 6103 80 21 98
Web: http://www.resourcesolutions.de
mailto:CPeto@...

Member of: SPARK  SVG Programmers' Application Resource Kit
http://www.schemasoft.org/
Original Message
From: Vasu [mailto:vasu@...]
Sent: Donnerstag, 17. Juli 2003 15:34
To: svgdevelopers@yahoogroups.com
Subject: RE: [svgdevelopers] Re: question on matrix.inverse()
Hi chris
I have downloaded ASV6 from the following link
<http://www.adobe.com/svg/viewer/install/beta.html>
http://www.adobe.com/svg/viewer/install/beta.html
The installation was successful, but when i try to view any SVG file
specific to ASV6 version it is generating errors. The error message
either says "Object does not support this property or method" or "Object
is required" and i am not able to do anything in the browser window. Did
i miss to install some additional software or have i installed the
correct version of the plugin?
Thanks for you help
vasu
Original Message
From: Chris Peto [mailto:CPeto@...]
Sent: Thursday, July 17, 2003 2:24 PM
To: svgdevelopers@yahoogroups.com
Subject: RE: [svgdevelopers] Re: question on matrix.inverse()
Hi,
Probably because you are viewing it with ASV3.
Mit freundlichen Grusen/Regards
Chris Peto
Freelance System Development

Resource Solutions
Hohenweg 34
63303 Dreieich  Gotzenhain
Germany
Mobile: +49 (0) 173 308 7843
Tel:+49(0) 6103 80 21 98
Web: http://www.resourcesolutions.de
mailto:CPeto@...

Member of: SPARK  SVG Programmers' Application Resource Kit
http://www.schemasoft.org/
Original Message
From: Vasu [mailto:vasu@...]
Sent: Donnerstag, 17. Juli 2003 15:05
To: svgdevelopers@yahoogroups.com
Subject: RE: [svgdevelopers] Re: question on matrix.inverse()
Hi there
When i view http://pilat.free.fr/asv6/script2.svg file in my browser i
am getting the following error
“Object does not support this property or method line 4 column 2”
what is wrong here?
Thanks
vasu
Original Message
From: pilatfr [mailto:pilat@...]
Sent: Thursday, July 17, 2003 1:28 PM
To: svgdevelopers@yahoogroups.com
Subject: [svgdevelopers] Re: question on matrix.inverse()
 In svgdevelopers@yahoogroups.com, "Marcel" <Marcel.Sauer@g...>
wrote:> Hi all,
As I am concerned ...
>
> I have read several scripts that use the inverse of a matrix.
> I checked the script at
>
> http://pilat.free.fr/asv6/script2.svg
>
> For what can I use it ? I don´t understand this correctly :(
> Maybe someone can explain this to me or give me a link where it is
> explained.
Use inverse of matrix or this script?
For inverse matrix, shortly, you have coordinates system in viewBox,
say 50 and 20, when user agent draw svg in a window, these window
has coordinates system and it's not same. getScreenCTM return matrix
used to calculate coordinates in window (there is scale  uniform
with preserveAspectRatio different from none  and a translation)
matrix can be by example
1.2 0 50
0 1.2 40
So coordinates in window are 110 and 64 ...
This script calculate coordinates in viewBox from screenX and
screenY coordinates in window. So we have to use inverse of matrix
returned.
This script will be more elegant using SVGPoint (matrix 2x1) in
place of x and y ...
This coordinates are very useful to script, if you drag object you
have to give it coordinates in viewBox and not in window ...
Michel
PS I can answer more if you mail me offlist
Yahoo! Groups Sponsor
<http://rd.yahoo.com/M=249982.3512844.4795476.1261774/D=egroupweb/S=1706
030389:HM/A=1524963/R=0/SIG=12o72ctft/*http:/hits.411web.com/cgibin/aut
oredir?camp=556&lineid=3512844∝=egroupweb&pos=HM>
<http://us.adserver.yahoo.com/l?M=249982.3512844.4795476.1261774/D=egrou
pmail/S=:HM/A=1524963/rand=321574338>

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.
[Nontext portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Nontext portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://rd.yahoo.com/M=194081.3551198.4824677.1261774/D=egroupweb/S=1706
030389:HM/A=1663535/R=0/SIG=11ps6rfef/*http:/www.ediets.com/start.cfm?co
de=30504&media=atkins> click here
<http://us.adserver.yahoo.com/l?M=194081.3551198.4824677.1261774/D=egrou
pmail/S=:HM/A=1663535/rand=161339516>

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
[Nontext portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Nontext portions of this message have been removed]  Chris
I have renamed this thead to “problems viewing ASV6 files” as i
thought it was proper on my part to hijack the thread marcel had started
… please could you help me on that thread.
Thanks
vasu
Original Message
From: Chris Peto [mailto:CPeto@...]
Sent: Thursday, July 17, 2003 2:44 PM
To: svgdevelopers@yahoogroups.com
Subject: RE: [svgdevelopers] Re: question on matrix.inverse()
Hi,
Did you restart the Browser after installation?
Mit freundlichen Grusen/Regards
Chris Peto
Freelance System Development

Resource Solutions
Hohenweg 34
63303 Dreieich  Gotzenhain
Germany
Mobile: +49 (0) 173 308 7843
Tel:+49(0) 6103 80 21 98
Web: http://www.resourcesolutions.de
mailto:CPeto@...

Member of: SPARK  SVG Programmers' Application Resource Kit
http://www.schemasoft.org/
Original Message
From: Vasu [mailto:vasu@...]
Sent: Donnerstag, 17. Juli 2003 15:34
To: svgdevelopers@yahoogroups.com
Subject: RE: [svgdevelopers] Re: question on matrix.inverse()
Hi chris
I have downloaded ASV6 from the following link
<http://www.adobe.com/svg/viewer/install/beta.html>
http://www.adobe.com/svg/viewer/install/beta.html
The installation was successful, but when i try to view any SVG file
specific to ASV6 version it is generating errors. The error message
either says "Object does not support this property or method" or
"Object
is required" and i am not able to do anything in the browser window.
Did
i miss to install some additional software or have i installed the
correct version of the plugin?
Thanks for you help
vasu
Original Message
From: Chris Peto [mailto:CPeto@...]
Sent: Thursday, July 17, 2003 2:24 PM
To: svgdevelopers@yahoogroups.com
Subject: RE: [svgdevelopers] Re: question on matrix.inverse()
Hi,
Probably because you are viewing it with ASV3.
Mit freundlichen Grusen/Regards
Chris Peto
Freelance System Development

Resource Solutions
Hohenweg 34
63303 Dreieich  Gotzenhain
Germany
Mobile: +49 (0) 173 308 7843
Tel:+49(0) 6103 80 21 98
Web: http://www.resourcesolutions.de
mailto:CPeto@...

Member of: SPARK  SVG Programmers' Application Resource Kit
http://www.schemasoft.org/
Original Message
From: Vasu [mailto:vasu@...]
Sent: Donnerstag, 17. Juli 2003 15:05
To: svgdevelopers@yahoogroups.com
Subject: RE: [svgdevelopers] Re: question on matrix.inverse()
Hi there
When i view http://pilat.free.fr/asv6/script2.svg file in my browser
i
am getting the following error
“Object does not support this property or method line 4 column 2”
what is wrong here?
Thanks
vasu
Original Message
From: pilatfr [mailto:pilat@...]
Sent: Thursday, July 17, 2003 1:28 PM
To: svgdevelopers@yahoogroups.com
Subject: [svgdevelopers] Re: question on matrix.inverse()
 In svgdevelopers@yahoogroups.com, "Marcel" <Marcel.Sauer@g...>
wrote:> Hi all,
As I am concerned ...
>
> I have read several scripts that use the inverse of a matrix.
> I checked the script at
>
> http://pilat.free.fr/asv6/script2.svg
>
> For what can I use it ? I don´t understand this correctly :(
> Maybe someone can explain this to me or give me a link where it is
> explained.
Use inverse of matrix or this script?
For inverse matrix, shortly, you have coordinates system in viewBox,
say 50 and 20, when user agent draw svg in a window, these window
has coordinates system and it's not same. getScreenCTM return matrix
used to calculate coordinates in window (there is scale  uniform
with preserveAspectRatio different from none  and a translation)
matrix can be by example
1.2 0 50
0 1.2 40
So coordinates in window are 110 and 64 ...
This script calculate coordinates in viewBox from screenX and
screenY coordinates in window. So we have to use inverse of matrix
returned.
This script will be more elegant using SVGPoint (matrix 2x1) in
place of x and y ...
This coordinates are very useful to script, if you drag object you
have to give it coordinates in viewBox and not in window ...
Michel
PS I can answer more if you mail me offlist
Yahoo! Groups Sponsor
<http://rd.yahoo.com/M=249982.3512844.4795476.1261774/D=egroupweb/S=1706
030389:HM/A=1524963/R=0/SIG=12o72ctft/*http:/hits.411web.com/cgibin/aut
oredir?camp=556&lineid=3512844∝=egroupweb&pos=HM>
<http://us.adserver.yahoo.com/l?M=249982.3512844.4795476.1261774/D=egrou
pmail/S=:HM/A=1524963/rand=321574338>

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit
my
membership"

Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.
[Nontext portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit
my
membership"

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Nontext portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://rd.yahoo.com/M=194081.3551198.4824677.1261774/D=egroupweb/S=1706
030389:HM/A=1663535/R=0/SIG=11ps6rfef/*http:/www.ediets.com/start.cfm?
co
de=30504&media=atkins> click here
<http://us.adserver.yahoo.com/l?M=194081.3551198.4824677.1261774/D=egrou
pmail/S=:HM/A=1663535/rand=161339516>

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
[Nontext portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Nontext portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://rd.yahoo.com/M=194081.3551198.4824677.1261774/D=egroupweb/S=1706
030389:HM/A=1663535/R=0/SIG=11ps6rfef/*http:/www.ediets.com/start.cfm?co
de=30504&media=atkins> click here
<http://us.adserver.yahoo.com/l?M=194081.3551198.4824677.1261774/D=egrou
pmail/S=:HM/A=1663535/rand=115312171>

To unsubscribe send a message to:
svgdevelopersunsubscribe@yahoogroups.com
or
visit http://groups.yahoo.com/group/svgdevelopers and click "edit my
membership"

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
[Nontext portions of this message have been removed]  hi michel,
thanks for your answers. I have to check the link you provided.
Marcel
 In svgdevelopers@yahoogroups.com, "pilatfr" <pilat@w...> wrote:
>  In svgdevelopers@yahoogroups.com, "Marcel" <Marcel.Sauer@g...>
> wrote:
>
> > > So coordinates in window are 110 and 64 ...
> >
> > Where do you get these values ?
>
> With this matrix
>
> 1.2 0 50
> 0 1.2 40
>
> We calculate 1.2 * 50 + 0 * 20 + 50 and get 110
> 0 * 50 + 1.2 * 20 + 40 get 64
>
> > > So we have to use inverse of matrix
> > > returned.
> >
> > And why the inverse and not the "normal" ?
>
> The matrix calculate from viewBox to window
> inverse matrix calculate from window to viewBox
>
> > PS: In my opinion it´s difficult to deal with the coordinates and
> so on :(
>
> Some publicity, the chapter of learn SVG about this problem is on
> line at
> http://www.perfectxml.com/LearnSVG.asp
> ( Stefan Goessner's work )
>
> Michel
Your message has been successfully submitted and would be delivered to recipients shortly.