score:6

I think I was able to solve the problem myself. The access to the transformation matrix could be achieved using

circ1[0][0].getCTM()

or by using

circ1[0][0].getScreenCTM()

By adding the value of the e attribute to the x coordinate and the value of the f attribute to the y coordinate I was able to get the "absolute position" of the elements.

Updated jsfiddle is here

I am afraid my solution is not universally valid. For example I am not sure what happens in a case I will use transform: scale before the computation of the position ?


Related Query

More Query from same tag