Lines Matching refs:x

199 mxJsCanvas.prototype.setGradient = function(color1, color2, x, y, w, h, direction, alpha1, alpha2)  argument
437 mxJsCanvas.prototype.moveTo = function(x, y) argument
439 this.ctx.moveTo(x, y);
440 this.lastMoveX = x;
444 mxJsCanvas.prototype.lineTo = function(x, y) argument
446 this.ctx.lineTo(x, y);
447 this.lastMoveX = x;
458 mxJsCanvas.prototype.arcTo = function(rx, ry, angle, largeArcFlag, sweepFlag, x, y) argument
460 … mxUtils.arcToCurves(this.lastMoveX, this.lastMoveY, rx, ry, angle, largeArcFlag, sweepFlag, x, y);
479 mxJsCanvas.prototype.rect = function(x, y, w, h) argument
483 this.moveTo(x, y);
484 this.lineTo(x + w, y);
485 this.lineTo(x + w, y + h);
486 this.lineTo(x, y + h);
490 mxJsCanvas.prototype.roundrect = function(x, y, w, h, dx, dy) argument
493 this.moveTo(x + dx, y);
494 this.lineTo(x + w - dx, y);
495 this.quadTo(x + w, y, x + w, y + dy);
496 this.lineTo(x + w, y + h - dy);
497 this.quadTo(x + w, y + h, x + w - dx, y + h);
498 this.lineTo(x + dx, y + h);
499 this.quadTo(x, y + h, x, y + h - dy);
500 this.lineTo(x, y + dy);
501 this.quadTo(x, y, x + dx, y);
504 mxJsCanvas.prototype.ellipse = function(x, y, w, h) argument
507 this.ctx.translate((x + w / 2), (y + h / 2));
525 mxJsCanvas.prototype.image = function(x, y, w, h, src, aspect, flipH, flipV) argument
537 function drawImage(ctx, image, x, y, w, h) argument
550 x += x0;
560 ctx.translate(2 * x + w, 0);
570 ctx.drawImage(image, x, y, w, h);
576 drawImage.call(this, this.ctx, image, x, y, w, h);
634 mxJsCanvas.prototype.text = function(x, y, w, h, str, align, valign, wrap, format, overflow, clip, … argument
647 this.ctx.translate(Math.round(x), Math.round(y));
649 this.ctx.translate(Math.round(-x), Math.round(-y));
671 x -= cavWidth / 2 / sc;
674 x -= cavWidth / sc;
686 …this.ctx.fillRect(Math.round(x) - 0.5, Math.round(y) - 0.5, Math.round(subCanvas.width / sc), Math…
692 …this.ctx.strokeRect(Math.round(x) - 0.5, Math.round(y) - 0.5, Math.round(subCanvas.width / sc), Ma…
701 this.ctx.drawImage(subCanvas, Math.round(x * sc) ,Math.round(y * sc));
748 lineX[i] = x;