(x, y)
| 1206 | } |
| 1207 | |
| 1208 | function translate(x, y) { |
| 1209 | /* By default, the origin of the layer or canvas is at the bottom left. |
| 1210 | * This origin point will be moved by (x,y) pixels. |
| 1211 | */ |
| 1212 | _ctx.translate(x, y); |
| 1213 | } |
| 1214 | |
| 1215 | function rotate(degrees) { |
| 1216 | /* Rotates the transformation state, i.e. all subsequent drawing primitives are rotated. |
nothing calls this directly
no test coverage detected
searching dependent graphs…