MCPcopy
hub / github.com/methodofaction/Method-Draw / remap

Function remap

src/js/svgcanvas.js:929–929  ·  view source on GitHub ↗
(x,y)

Source from the content-addressed store, hash-verified

927var remapElement = this.remapElement = function(selected,changes,m) {
928
929 var remap = function(x,y) { return transformPoint(x,y,m); },
930 scalew = function(w) { return m.a*w; },
931 scaleh = function(h) { return m.d*h; },
932 doSnapping = curConfig.gridSnapping && selected.parentNode.parentNode.localName === "svg",

Callers 1

svgcanvas.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected