V.transformPoint(p, matrix)
Transform a point specified by p
(an object with x
and y
coordinates) by an SVG transformation represented by matrix
.
This is a convenient shortcut to calling:
var p = mySVGDocument.createSVGPoint();
p.x = x;
p.y = y;
p.matrixTransform(matrix)