MCPcopy Create free account
hub / github.com/microsoft/SandDance / transformRotate

Function transformRotate

docs/app/js/sanddance-app.js:133857–133864  ·  view source on GitHub ↗
(rotate)

Source from the content-addressed store, hash-verified

133855 }
133856});
133857function transformRotate(rotate) {
133858 return (0, _transformJs.transformer)({
133859 point: function(x, y) {
133860 var r = rotate(x, y);
133861 return this.stream.point(r[0], r[1]);
133862 }
133863 });
133864}
133865function scaleTranslate(k, dx, dy, sx, sy) {
133866 function transform(x, y) {
133867 x *= sx;

Callers 1

projectionMutatorFunction · 0.70

Calls 1

rotateFunction · 0.70

Tested by

no test coverage detected