Lines Matching refs:scale

169 			s = this.scale;
366 var s = parseFloat(mxUtils.getValue(this.style, 'size', this.size)) * this.scale;
595 return new mxRectangle(0, Math.min(rect.height * this.scale, size * this.scale), 0, 0);
865 var sizeY = mxUtils.getValue(this.style, 'tabHeight', 15) * this.scale;
869 var sizeX = mxUtils.getValue(this.style, 'tabWidth', 15) * this.scale;
870 var sizeY = mxUtils.getValue(this.style, 'tabHeight', 15) * this.scale;
998 return new mxRectangle(10 * this.scale, 0, 0, 0);
1137 return new mxRectangle(0, Math.min(this.maxHeight * this.scale, rect.height * size), 0, 0);
1154 …xRectangle(0, Math.min(rect.height * this.scale, size * 2 * this.scale), 0, Math.max(0, size * 0.3…
1164 var sizeY = mxUtils.getValue(this.style, 'tabHeight', 15) * this.scale;
1168 var sizeX = mxUtils.getValue(this.style, 'tabWidth', 15) * this.scale;
1169 var sizeY = mxUtils.getValue(this.style, 'tabHeight', 15) * this.scale;
1212 return new mxRectangle(10 * this.scale, 0, 0, 0);
1225 …new mxRectangle(0, Math.min(rect.height * this.scale, size * this.scale), 0, Math.max(0, size * th…
1699 this.style, 'size', this.size)) * this.scale);
1803 this.style[mxConstants.STYLE_MARGIN] || 0)) * this.scale;
1850 this.style[mxConstants.STYLE_MARGIN] || 0)) * this.scale;
2147 mxUtils.getValue(this.style, 'size', this.size)) * this.scale));
2204 rect.width - (parseFloat(mxUtils.getValue(this.style, 'width', this.width) * this.scale)),
2205 rect.height - (parseFloat(mxUtils.getValue(this.style, 'height', this.height) * this.scale)));
2264 size = mxUtils.getValue(vertex.style, 'size', size) * vertex.view.scale;
2267 …var sw = (parseFloat(vertex.style[mxConstants.STYLE_STROKEWIDTH] || 1) * vertex.view.scale / 2) - …
2292 …var sw = (parseFloat(vertex.style[mxConstants.STYLE_STROKEWIDTH] || 1) * vertex.view.scale / 2) - …
2296 sw += (parseFloat(vertex.style['backboneSize']) * vertex.view.scale / 2) - 1;
2331 CalloutShape.prototype.size)) * vertex.view.scale))),
2350 size *= vertex.view.scale;
2413 size *= vertex.view.scale;
2486 size *= vertex.view.scale;
2563 size *= vertex.view.scale;
5585 var s = state.view.scale;
5603 var s = state.view.scale;
5622 var w = state.shape.getEdgeWidth() * state.view.scale + spacing;
5628 state.style['width'] = Math.round(w * 2) / state.view.scale - spacing;
5647 var tol = state.view.graph.gridSize / state.view.scale;
5654 var w = (state.shape.getEdgeWidth() - state.shape.strokewidth) * state.view.scale;
5655 …umber(state.style, mxConstants.STYLE_STARTSIZE, mxConstants.ARROW_SIZE / 5) * 3 * state.view.scale;
5657 return new mxPoint(p0.x + nx * (l + state.shape.strokewidth * state.view.scale) + ny * w / 2,
5658 p0.y + ny * (l + state.shape.strokewidth * state.view.scale) - nx * w / 2);
5664 …ts.STYLE_STARTSIZE] = Math.round((l - state.shape.strokewidth) * 100 / 3) / 100 / state.view.scale;
5665 state.style['width'] = Math.round(w * 2) / state.view.scale;
5685 var w = (state.shape.getStartArrowWidth() - state.shape.strokewidth) * state.view.scale;
5686 …umber(state.style, mxConstants.STYLE_STARTSIZE, mxConstants.ARROW_SIZE / 5) * 3 * state.view.scale;
5688 return new mxPoint(p0.x + nx * (l + state.shape.strokewidth * state.view.scale) + ny * w / 2,
5689 p0.y + ny * (l + state.shape.strokewidth * state.view.scale) - nx * w / 2);
5695 …ts.STYLE_STARTSIZE] = Math.round((l - state.shape.strokewidth) * 100 / 3) / 100 / state.view.scale;
5696 …yle['startWidth'] = Math.max(0, Math.round(w * 2) - state.shape.getEdgeWidth()) / state.view.scale;
5725 var w = (state.shape.getEdgeWidth() - state.shape.strokewidth) * state.view.scale;
5726 …tNumber(state.style, mxConstants.STYLE_ENDSIZE, mxConstants.ARROW_SIZE / 5) * 3 * state.view.scale;
5728 return new mxPoint(p0.x + nx * (l + state.shape.strokewidth * state.view.scale) - ny * w / 2,
5729 p0.y + ny * (l + state.shape.strokewidth * state.view.scale) + nx * w / 2);
5735 …ants.STYLE_ENDSIZE] = Math.round((l - state.shape.strokewidth) * 100 / 3) / 100 / state.view.scale;
5736 state.style['width'] = Math.round(w * 2) / state.view.scale;
5756 var w = (state.shape.getEndArrowWidth() - state.shape.strokewidth) * state.view.scale;
5757 …tNumber(state.style, mxConstants.STYLE_ENDSIZE, mxConstants.ARROW_SIZE / 5) * 3 * state.view.scale;
5759 return new mxPoint(p0.x + nx * (l + state.shape.strokewidth * state.view.scale) - ny * w / 2,
5760 p0.y + ny * (l + state.shape.strokewidth * state.view.scale) + nx * w / 2);
5766 …ants.STYLE_ENDSIZE] = Math.round((l - state.shape.strokewidth) * 100 / 3) / 100 / state.view.scale;
5767 …style['endWidth'] = Math.max(0, Math.round(w * 2) - state.shape.getEdgeWidth()) / state.view.scale;