Lines Matching refs:geo2

2439 			var geo2 = graph.getCellGeometry(targets[dropCellIndex]);
2512 dx = geo2.x;
2513 dy = geo2.y;
2556 geo2 = graph.getCellGeometry(targets[dropCellIndex]);
2557 dx = geo.x - Math.round(geo2.x);
2558 dy = geo.y - Math.round(geo2.y);
2559 geo.x = Math.round(geo2.x);
2560 geo.y = Math.round(geo2.y);
2605 var geo2 = graph.getCellGeometry(target);
2607 if (geo != null && geo2 != null)
2609 geo2 = geo2.clone();
2620 geo2.x = p0.x / view.scale - view.translate.x - geo2.width / 2;
2621 geo2.y = p0.y / view.scale - view.translate.y - geo2.height / 2;
2625 geo2.x = pe.x / view.scale - view.translate.x - geo2.width / 2;
2626 geo2.y = pe.y / view.scale - view.translate.y - geo2.height / 2;
2642 if (graph.model.isEdge(target) && geo2.getTerminalPoint(true) != null &&
2643 geo2.getTerminalPoint(false) != null)
2645 var p0 = geo2.getTerminalPoint(true);
2646 var pe = geo2.getTerminalPoint(false);
2652 geo2.x = geo.getCenterX();
2653 geo2.y = geo.getCenterY();
2654 geo2.width = 1;
2655 geo2.height = 1;
2659 geo2.height = length
2660 geo2.y = geo.y - length;
2661 geo2.setTerminalPoint(new mxPoint(geo2.x, geo2.y), false);
2665 geo2.width = length
2666 geo2.x = geo.x + geo.width;
2667 geo2.setTerminalPoint(new mxPoint(geo2.x + geo2.width, geo2.y), false);
2671 geo2.height = length
2672 geo2.y = geo.y + geo.height;
2673 geo2.setTerminalPoint(new mxPoint(geo2.x, geo2.y + geo2.height), false);
2677 geo2.width = length
2678 geo2.x = geo.x - length;
2679 geo2.setTerminalPoint(new mxPoint(geo2.x, geo2.y), false);
2686 if (!keepSize && geo2.width > 45 && geo2.height > 45 &&
2689 geo2.width = geo2.width * (geo.height / geo2.height);
2690 geo2.height = geo.height;
2693 geo2.x = geo.x + geo.width / 2 - geo2.width / 2;
2694 geo2.y = geo.y + geo.height / 2 - geo2.height / 2;
2698 geo2.y = geo2.y - geo.height / 2 - geo2.height / 2 - length;
2702 geo2.x = geo2.x + geo.width / 2 + geo2.width / 2 + length;
2706 geo2.y = geo2.y + geo.height / 2 + geo2.height / 2 + length;
2710 geo2.x = geo2.x - geo.width / 2 - geo2.width / 2 - length;
2714 if (graph.model.isEdge(target) && geo2.getTerminalPoint(true) != null &&
2723 geo2.x -= targetGeo.getCenterX();
2724 geo2.y -= targetGeo.getCenterY() + targetGeo.height / 2;
2728 geo2.x -= targetGeo.getCenterX() - targetGeo.width / 2;
2729 geo2.y -= targetGeo.getCenterY();
2733 geo2.x -= targetGeo.getCenterX();
2734 geo2.y -= targetGeo.getCenterY() - targetGeo.height / 2;
2738 geo2.x -= targetGeo.getCenterX() + targetGeo.width / 2;
2739 geo2.y -= targetGeo.getCenterY();
2747 return geo2;
2992 …var geo2 = (!graph.model.isEdge(currentTargetState.cell)) ? graph.getCellGeometry(currentTargetSta…
2998 … if (geo2 != null && !geo2.relative && graph.model.isVertex(parent) && parent != view.currentRoot)