Lines Matching refs:bounds
182 var bounds;
202 doneDiv.setAttribute('bounds', JSON.stringify(bounds));
247 ipcRenderer.send('render-finished', {bounds: JSON.stringify(bounds), pageCount: pageCount});
582 var bounds = this.getGraphBounds();
584 if (bounds.width == 0 || bounds.height == 0)
591 var x = Math.ceil(bounds.x / this.view.scale - this.view.translate.x);
592 var y = Math.ceil(bounds.y / this.view.scale - this.view.translate.y);
593 var w = Math.floor(bounds.width / this.view.scale);
594 var h = Math.floor(bounds.height / this.view.scale);
701 bounds = (graph.pdfPageVisible) ? graph.view.getBackgroundPageBounds() : graph.getGraphBounds();
702 …bounds.width = Math.ceil(bounds.width + data.border) + 1; //The 1 extra pixels to prevent cutting …
703 …bounds.height = Math.ceil(bounds.height + data.border) + 1; //The 1 extra pixels to prevent starti…
769 bounds = new mxRectangle(0, 0, pf.width, pf.height);
780 bounds.add(new mxRectangle(
791 bounds.width += 7;
792 bounds.height += 7;
795 document.body.style.width = Math.ceil(bounds.x + bounds.width) + 'px';
796 document.body.style.height = Math.ceil(bounds.y + bounds.height) + 'px';