cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (36)
412r1 = new Point(Z.X, topCover.A.Y);
416r2 = new Point(rightCover.A.X, Z.Y);
420r3 = new Point(Z.X, bottomCover.A.Y);
424r4 = new Point(leftCover.A.X, Z.Y);
542AddBoundPoint(ref extremitiesList, lesserCover.A, lesserCover, Z);
549AddBoundPoint(ref extremitiesList, higherCover.A, higherCover, Z);
593escapeLine.IsPointOnSegment(escapePoint) && !escapeLine.A.IsEqualTo(escapePoint) && !escapeLine.B.IsEqualTo(escapePoint) &&
1126Point bottom = new Point(p.X, (bottomCover != null) ? bottomCover.A.Y : int.MinValue);
1127Point top = new Point(p.X, (topCover != null) ? topCover.A.Y : int.MaxValue);
1138Point left = new Point((leftCover != null) ? leftCover.A.X : int.MinValue, p.Y);
1139Point right = new Point((rightCover != null) ? rightCover.A.X : int.MaxValue, p.Y);
1158return (this.point1.IsEqualTo(segment.A) && this.point2.IsEqualTo(segment.B) && Orientation == segment.Orientation);
1238if (vertical.A.X < Math.Min(horizontal.A.X, horizontal.B.X) || vertical.A.X > Math.Max(horizontal.A.X, horizontal.B.X))
1243if (horizontal.A.Y < Math.Min(vertical.A.Y, vertical.B.Y) || horizontal.A.Y > Math.Max(vertical.A.Y, vertical.B.Y))
1248return new Point(vertical.A.X, horizontal.A.Y);
1326if (cover.IsPointOnSegment(existingCover.A) && cover.IsPointOnSegment(existingCover.B))
1331else if (existingCover.IsPointOnSegment(cover.A) && existingCover.IsPointOnSegment(cover.B))
1375int currentDistance = (int)((side == DesignerEdges.Left) ? p.X - segment.A.X : segment.A.X - p.X);
1391int currentDistance = (int)((side == DesignerEdges.Bottom) ? p.Y - segment.A.Y : segment.A.Y - p.Y);
1415int currentDistance = (int)((side == DesignerEdges.Left) ? p.X - segment.A.X : segment.A.X - p.X);
1427int currentDistance = (int)((side == DesignerEdges.Bottom) ? p.Y - segment.A.Y : segment.A.Y - p.Y);
1444originalDistance = (int)(originalCover.A.X - escape.X);
1448originalDistance = (int)(originalCover.A.Y - escape.Y);
1468newDistance = (int)Math.Abs(newCover.A.X - escape.X);
1472newDistance = (int)Math.Abs(newCover.A.Y - escape.Y);