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

Function point

d3-3.2.8/d3.js:1197–1199  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

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 }
1200 function scaleTo(s) {
1201 scale = Math.max(scaleExtent[0], Math.min(scaleExtent[1], s));
1202 }

Callers 2

translateToFunction · 0.85
linePointFunction · 0.85

Calls 1

visibleFunction · 0.85

Tested by

no test coverage detected