Lines Matching refs:view

15 			var graph = state.view.graph;
180 var graph = this.state.view.graph;
2162 var ctor = this.state.view.graph.cellRenderer.getShape(participant);
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;
5401 state.view.invalidate(this.state.cell);
5402 state.view.validate();
5584 var tr = state.view.translate;
5585 var s = state.view.scale;
5602 var tr = state.view.translate;
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;
5827 var graph = state.view.graph;
6234 else if (this.state.view.graph.isSwimlane(this.state.cell))
6313 var view = state.view;
6321 pt = view.transformControlPoint(state, pt);