MCPcopy
hub / github.com/jipegit/OSXAuditor / location

Function location

d3-3.2.8/d3.js:1194–1196  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

1192 return zoom;
1193 };
1194 function location(p) {
1195 return [ (p[0] - translate[0]) / scale, (p[1] - translate[1]) / scale ];
1196 }
1197 function point(l) {
1198 return [ l[0] * scale + translate[0], l[1] * scale + translate[1] ];
1199 }

Callers 4

mousedownedFunction · 0.85
relocateFunction · 0.85
mousewheeledFunction · 0.85
dblclickedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected