Lines Matching defs:x2
282 drawSmallMap(nodes, x1, x2, y1, y2) {
283 if (x1 === x2 || y2 === y1) {
289 let sw = w / (x2 - x1);
451 let x2 = -9999;
461 if (n.pos.x + n.nameWidth > x2) {
462 x2 = n.pos.x + n.nameWidth;
473 x2 = Math.max(mmx1[1] - this.offx_, x2) + Scr.logicw / 3;
478 x2: x2,
482 let scrollW = x2 - x1;
507 this.drawSmallMap(nodes, x1, x2, y1, y2);
575 let x2 = n2.pos.x + n2.nameWidth - 5 + offx - l.inNum * 5;
588 x2 += this.drapSelect_.dx;
612 ls.push([x1, y1 + n1.outh[l.outNum], x2, y1 + n1.outh[l.outNum], c, lw]);
613 ls.push([x2, y1 + n1.outh[l.outNum], x2, y2, c, lw]);
622 ls.push([lx, y2 - ly, x2, y2 - ly, c, lw]);
623 ls.push([x2, y2 - ly, x2, y2, c, lw]);
636 drawLine(x1, y1, x2, y2, c, lw = 1) {
637 if (x1 === x2) {
647 if (x1 > x2) {
648 [x1, x2] = [x2, x1];
650 X2DFast.px2f.fillRect(x1, y1, x2 - x1, lw, c);
651 if (XTools.InRect(XTools.MOUSE_POS.x, XTools.MOUSE_POS.y, x1, y1 - 1, x2 - x1, lw + 2)) {
683 let [x1, y1, x2, y2] = [this.dragScoll.x1, this.dragScoll.y1, this.dragScoll.x2, this.dragScoll.y2];
684 if (x1 === x2 || y1 === y2) {
687 let sw = w / (x2 - x1);