AuthoringOM\Design\Connector.cs (36)
2092r1 = new Point(Z.X, topCover.A.Y);
2094r2 = new Point(rightCover.A.X, Z.Y);
2096r3 = new Point(Z.X, bottomCover.A.Y);
2098r4 = new Point(leftCover.A.X, Z.Y);
2215AddBoundPoint(ref extremitiesList, lesserCover.A, lesserCover, Z);
2222AddBoundPoint(ref extremitiesList, higherCover.A, higherCover, Z);
2262escapeLine.IsPointOnSegment(escapePoint) && escapeLine.A != escapePoint && escapeLine.B != escapePoint &&
2632if (vertical.A.X < Math.Min(horizontal.A.X, horizontal.B.X) || vertical.A.X > Math.Max(horizontal.A.X, horizontal.B.X))
2635if (horizontal.A.Y < Math.Min(vertical.A.Y, vertical.B.Y) || horizontal.A.Y > Math.Max(vertical.A.Y, vertical.B.Y))
2638return new Point(vertical.A.X, horizontal.A.Y);
2742Point left = new Point((leftCover != null) ? leftCover.A.X : int.MinValue, p.Y);
2743Point right = new Point((rightCover != null) ? rightCover.A.X : int.MaxValue, p.Y);
2754Point bottom = new Point(p.X, (bottomCover != null) ? bottomCover.A.Y : int.MinValue);
2755Point top = new Point(p.X, (topCover != null) ? topCover.A.Y : int.MaxValue);
2770return (this.point1 == segment.A && this.point2 == segment.B && Orientation == segment.Orientation);
2814if (cover.IsPointOnSegment(existingCover.A) && cover.IsPointOnSegment(existingCover.B))
2820else if (existingCover.IsPointOnSegment(cover.A) && existingCover.IsPointOnSegment(cover.B))
2898int currentDistance = (side == DesignerEdges.Left) ? p.X - segment.A.X : segment.A.X - p.X;
2914int currentDistance = (side == DesignerEdges.Bottom) ? p.Y - segment.A.Y : segment.A.Y - p.Y;
2939int currentDistance = (side == DesignerEdges.Left) ? p.X - segment.A.X : segment.A.X - p.X;
2949int currentDistance = (side == DesignerEdges.Bottom) ? p.Y - segment.A.Y : segment.A.Y - p.Y;
2964originalDistance = originalCover.A.X - escape.X;
2966originalDistance = originalCover.A.Y - escape.Y;
2983newDistance = Math.Abs(newCover.A.X - escape.X);
2985newDistance = Math.Abs(newCover.A.Y - escape.Y);