(xa, ya, xb, yb, s, q)
| 3833 | } |
| 3834 | |
| 3835 | function scale(xa, ya, xb, yb, s, q) { |
| 3836 | if (xa !== xb || ya !== yb) { |
| 3837 | var i = s.push(pop(s) + "scale(", null, ",", null, ")"); |
| 3838 | q.push({i: i - 4, x: interpolateNumber(xa, xb)}, {i: i - 2, x: interpolateNumber(ya, yb)}); |
| 3839 | } else if (xb !== 1 || yb !== 1) { |
| 3840 | s.push(pop(s) + "scale(" + xb + "," + yb + ")"); |
| 3841 | } |
| 3842 | } |
| 3843 | |
| 3844 | return function(a, b) { |
| 3845 | var s = [], // string constants and placeholders |
no test coverage detected