Lines Matching refs:transform
17 import {transform, nanos_to_string, get_visible_chip} from './transform.js'
103 result.transform = layer.transform || {dsdx:1, dtdx:0, dsdy:0, dtdy:1};
104 result.transform.tx = tx;
105 result.transform.ty = ty;
125 function is_transform_invalid(transform) { argument
126 return !transform || (transform.dsdx * transform.dtdy ===
127 transform.dtdx * transform.dsdy); //determinant of transform
209 if (is_transform_invalid(layer.transform)) {
237 return transform({
257 transform: {dsdx:1, dtdx:0, dsdy:0, dtdy:1},
306 return transform({
327 return transform({
340 var r = transform({