cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (14)
126if (DesignerGeometryHelper.DistanceBetweenPoints(pt, editPoint.Location) <= EditPointHitTestRadius)
297double slope = DesignerGeometryHelper.SlopeOfLineSegment(current.Location, next.Location);
316double distance = DesignerGeometryHelper.DistanceOfLineSegments(new Point[] { previous.Location, current.Location });
319double slope = DesignerGeometryHelper.SlopeOfLineSegment(current.Location, next.Location);
326distance = DesignerGeometryHelper.DistanceOfLineSegments(new Point[] { current.Location, next.Location });
329double slope = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, current.Location);
349double slope1 = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, current.Location);
350double slope2 = DesignerGeometryHelper.SlopeOfLineSegment(current.Location, next.Location);
404double slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, this.activeEditPoint.Location);
407int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints(previous.Location, (next != null) ? next.Location : this.activeEditPoint.Location)) / 4;
425double slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(this.activeEditPoint.Location, next.Location);
428int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints((previous != null) ? previous.Location : this.activeEditPoint.Location, next.Location)) / 4;
508double slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, this.activeEditPoint.Location);
513slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(this.activeEditPoint.Location, next.Location);