Lines Matching refs:scale
25 var scale = options && options.scale ? options.scale : 1;
745 var m = {x: mx / scale, y: my / scale}; /// Convert to the logical coordinate system before hit test
802 return { x: (coord.x - offset.x) / scale, y: (coord.y - offset.y) / scale };
850 canvas.width = metaObj.size[0] * scale;
851 canvas.height = metaObj.size[1] * scale;
905 // Translate and scale the coordinates by applying matrices before invoking drawCanvas().
908 ctx.scale(scale, scale);
2153 ctx.scale(1.0, 0.5); // vertically half
2156 ctx.scale(1.0, 2.0);
2184 ctx.scale(1.0, 0.5); // vertically half
2187 ctx.scale(1.0, 2.0);