Lines Matching refs:x2
114 var drawLine = function (x1, y1, x2, y2, text) argument
117 x1 = Math.round(x1); y1 = Math.round(y1); x2 = Math.round(x2); y2 = Math.round(y2);
121 ctx.lineTo(x2 + 0.5, y2 + 0.5);
421 ctx.putImageData(ruler.guidePart.imgData2, ruler.guidePart.x2, ruler.guidePart.y2);
434 var x1, y1, imgData1, x2, y2, imgData2, x3, y3, imgData3;
444 x2 = RULER_THICKNESS / 2;
450 imgData2 = ctx.getImageData(x2, y2 - 1, RULER_THICKNESS, 3);
451 drawLine(x2, y2, RULER_THICKNESS, y2);
462 x2 = x1 + bounds.width / 2;
468 imgData2 = ctx.getImageData(x2 - 1, y2, 3, RULER_THICKNESS);
469 drawLine(x2, y2, x2, RULER_THICKNESS);
470 x2--;
483 x2: x2, property in ruler.guidePart
515 ctx.putImageData(ruler.guidePart.imgData2, ruler.guidePart.x2, ruler.guidePart.y2);