Lines Matching refs:bbox

2674 	    var bbox = element;
2676 bbox = getBBox(element.waypoints, true);
2679 var x = bbox.x,
2680 y = bbox.y,
2681 height = bbox.height || 0,
2682 width = bbox.width || 0;
2721 function getEnclosedElements(elements, bbox) { argument
2733 if (!isNumber(bbox.y) && (e.x > bbox.x)) {
2736 if (!isNumber(bbox.x) && (e.y > bbox.y)) {
2739 if (e.x > bbox.x && e.y > bbox.y) {
2740 if (isNumber(bbox.width) && isNumber(bbox.height) &&
2741 e.width + e.x < bbox.width + bbox.x &&
2742 e.height + e.y < bbox.height + bbox.y) {
2745 } else if (!isNumber(bbox.width) || !isNumber(bbox.height)) {
3374 var bbox = curveBBox.apply(null, points);
3377 bbox.x0,
3378 bbox.y0,
3379 bbox.x1 - bbox.x0,
3380 bbox.y1 - bbox.y0
3384 function isPointInsideBBox$2(bbox, x, y) { argument
3385 return x >= bbox.x &&
3386 x <= bbox.x + bbox.width &&
3387 y >= bbox.y &&
3388 y <= bbox.y + bbox.height;
5543 var bbox;
5550 bbox = gfx.getBBox();
5556 bbox = element;
5559 var x = bbox.x * vbox.scale - vbox.x * vbox.scale;
5560 var y = bbox.y * vbox.scale - vbox.y * vbox.scale;
5562 var width = bbox.width * vbox.scale;
5563 var height = bbox.height * vbox.scale;
16032 var bbox = contentNode.getBBox();
16039 'width="' + bbox.width + '" height="' + bbox.height + '" ' +
16040 … 'viewBox="' + bbox.x + ' ' + bbox.y + ' ' + bbox.width + ' ' + bbox.height + '" version="1.1">' +
18624 var bbox,
18635 bbox = { class in getTextBBox
18643 bbox.width = 0;
18646 return bbox;
20022 function isPointInsideBBox$1(bbox, point) { argument
20026 return x >= bbox.x &&
20027 x <= bbox.x + bbox.width &&
20028 y >= bbox.y &&
20029 y <= bbox.y + bbox.height;
20705 var bbox = getBBox(connection);
20708 x: bbox.x - this.offset,
20709 y: bbox.y - this.offset,
20710 width: bbox.width + this.offset * 2,
20711 height: bbox.height + this.offset * 2
21339 var bbox = getBBox(element);
21340 x = bbox.x;
21341 y = bbox.y;
31531 var bbox = gfx.getBoundingClientRect();
31536 x: bbox.top,
31537 y: bbox.left
31970 var bbox = getBBox(elements);
31977 x: waypoint.x - bbox.x - bbox.width / 2,
31978 y: waypoint.y - bbox.y - bbox.height / 2
31984 x: element.x - bbox.x - bbox.width / 2,
31985 y: element.y - bbox.y - bbox.height / 2
33062 var bbox = getBBox(elements);
33069 x: waypoint.x - bbox.x - bbox.width / 2,
33070 y: waypoint.y - bbox.y - bbox.height / 2
33076 x: element.x - bbox.x - bbox.width / 2,
33077 y: element.y - bbox.y - bbox.height / 2
35863 function addPadding$1(bbox, padding) { argument
35876 x: bbox.x - left,
35877 y: bbox.y - top,
35878 width: bbox.width + left + right,
35879 height: bbox.height + top + bottom
39287 var bbox = canvas.getAbsoluteBBox(target);
39290 x: bbox.x + bbox.width / 2,
39291 y: bbox.y + bbox.height / 2
39295 var bounds = { x: bbox.x, y: bbox.y };
39317 width: bbox.height,
39319 x: bbox.x - bbox.height / 2 + (15 * zoom),
39342 width: bbox.width,
39343 height: bbox.height
39360 width: bbox.width,
39361 x: bbox.x
39382 height: bbox.height + paddingTop + paddingBottom,
39384 y: bbox.y - paddingTop
39429 width: bbox.width,
39430 height: bbox.height,
39455 bbox;
39459 bbox = this._canvas.getAbsoluteBBox(element);
39464 width: element.width / bbox.width * bounds.width,
39465 height: element.height / bbox.height * bounds.height
41431 function isPointInsideBBox(bbox, point) { argument
41435 return x >= bbox.x &&
41436 x <= bbox.x + bbox.width &&
41437 y >= bbox.y &&
41438 y <= bbox.y + bbox.height;
49227 var bbox = getBBox(elements);
49234 x: round$3(waypoint.x - bbox.x - bbox.width / 2 + position.x),
49235 y: round$3(waypoint.y - bbox.y - bbox.height / 2 + position.y)
49241 x: round$3(element.x - bbox.x - bbox.width / 2 + position.x),
49242 y: round$3(element.y - bbox.y - bbox.height / 2 + position.y)
54867 bbox = context.bbox;
54870 x: bbox.x,
54871 y: bbox.y,
54872 width: bbox.width,
54873 height: bbox.height
54908 var bbox = toBBox(event);
54914 self.select(elements, bbox);
54921 context.bbox = toBBox(event);
54929 context.bbox = toBBox(event);
54990 LassoTool.prototype.select = function(elements, bbox) { argument
54991 var selectedElements = getEnclosedElements(elements, bbox);
55027 var bbox;
55032 bbox = { class in toBBox
55041 bbox = { class in toBBox
55050 bbox = { class in toBBox
55059 bbox = { class in toBBox
55067 bbox = { class in toBBox
55074 return bbox;