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

Function transformRotate

docs/tests/v2/es6/js/sanddance.js:116487–116494  ·  view source on GitHub ↗
(rotate)

Source from the content-addressed store, hash-verified

116485});
116486
116487function transformRotate(rotate) {
116488 return (0, _transform.transformer)({
116489 point: function (x, y) {
116490 var r = rotate(x, y);
116491 return this.stream.point(r[0], r[1]);
116492 }
116493 });
116494}
116495
116496function scaleTranslate(k, dx, dy) {
116497 function transform(x, y) {

Callers 1

projectionMutatorFunction · 0.70

Calls 1

rotateFunction · 0.70

Tested by

no test coverage detected