199 references to AddLine
System.Drawing (1)
commonui\System\Drawing\Advanced\GraphicsPath.cs (1)
689
AddLine
(pt1.X, pt1.Y, pt2.X, pt2.Y);
System.Web.DataVisualization (99)
Common\Annotation\CalloutAnnotation.cs (2)
1848
path.
AddLine
(x1, y1, x1, y1 + distance);
1857
path.
AddLine
(x1, y1, x1 + distance, y1);
Common\ChartTypes\AreaChart.cs (7)
339
path.
AddLine
(point1.X, axisPos.Y, point1.X, point1.Y);
348
path.
AddLine
(point2.X, point2.Y, point2.X, axisPos.Y);
451
areaPath.
AddLine
(point1.X, axisPos.Y, point1.X, point1.Y);
496
mapAreaPath.
AddLine
(point1.X, axisPos.Y, point1.X, point1.Y);
506
mapAreaPath.
AddLine
(point2.X, point2.Y, point2.X, axisPos.Y);
507
mapAreaPath.
AddLine
(point2.X, axisPos.Y, point1.X, axisPos.Y);
602
areaPath.
AddLine
(areaPath.GetLastPoint().X, areaPath.GetLastPoint().Y, areaPath.GetLastPoint().X, axisPos.Y);
Common\ChartTypes\FastLineChart.cs (4)
634
path.
AddLine
(firstPointX, firstPointY - width, secondPointX, secondPointY - width);
635
path.
AddLine
(secondPointX, secondPointY + width, firstPointX, firstPointY + width);
640
path.
AddLine
(firstPointX - width, firstPointY, secondPointX - width, secondPointY);
641
path.
AddLine
(secondPointX + width, secondPointY, firstPointX + width, firstPointY);
Common\ChartTypes\FunnelChart.cs (16)
700
segmentPath.
AddLine
(
706
segmentPath.
AddLine
(
713
segmentPath.
AddLine
(
719
segmentPath.
AddLine
(
764
segmentPath.
AddLine
(
770
segmentPath.
AddLine
(
777
segmentPath.
AddLine
(
783
segmentPath.
AddLine
(
1036
segmentPath.
AddLine
(
1060
segmentPath.
AddLine
(
1063
segmentPath.
AddLine
(
1070
segmentPath.
AddLine
(
1110
segmentPath.
AddLine
(
1134
segmentPath.
AddLine
(
1137
segmentPath.
AddLine
(
1143
segmentPath.
AddLine
(
Common\ChartTypes\LineChart.cs (8)
881
path.
AddLine
(first.X, first.Y - width, second.X, second.Y - width);
882
path.
AddLine
(second.X, second.Y + width, first.X, first.Y + width);
887
path.
AddLine
(first.X - width, first.Y, second.X - width, second.Y);
888
path.
AddLine
(second.X + width, second.Y, first.X + width, first.Y);
910
path.
AddLine
(first.X, first.Y - width, second.X, second.Y - width);
911
path.
AddLine
(second.X, second.Y + width, first.X, first.Y + width);
916
path.
AddLine
(first.X - width, first.Y, second.X - width, second.Y);
917
path.
AddLine
(second.X + width, second.Y, first.X + width, first.Y);
Common\ChartTypes\RangeChart.cs (8)
262
areaPath.
AddLine
(
423
path.
AddLine
(highPoint1.X, lowPoint1.Y, highPoint1.X, highPoint1.Y);
433
path.
AddLine
(highPoint2.X, highPoint2.Y, highPoint2.X, lowPoint2.Y);
624
areaPath.
AddLine
(highPoint1.X, lowPoint1.Y, highPoint1.X, highPoint1.Y);
668
path.
AddLine
(highPoint1.X, lowPoint1.Y, highPoint1.X, highPoint1.Y);
677
path.
AddLine
(highPoint2.X, highPoint2.Y, highPoint2.X, lowPoint2.Y);
689
mapAreaPath.
AddLine
(highPoint1.X, lowPoint1.Y, highPoint1.X, highPoint1.Y);
699
mapAreaPath.
AddLine
(highPoint2.X, highPoint2.Y, highPoint2.X, lowPoint2.Y);
Common\ChartTypes\StackedAreaChart.cs (7)
585
path.
AddLine
(firstPoint.X, firstPoint.Y, secondPoint.X, secondPoint.Y);
586
path.
AddLine
(secondPoint.X, secondPoint.Y, secondPoint.X, prevYValue2);
587
path.
AddLine
(secondPoint.X, prevYValue2, firstPoint.X, prevYValue1);
588
path.
AddLine
(firstPoint.X, prevYValue1, firstPoint.X, firstPoint.Y);
680
areaPath.
AddLine
(firstPoint.X, firstPoint.Y, secondPoint.X, secondPoint.Y);
681
areaBottomPath.
AddLine
(firstPoint.X, prevYValue1, secondPoint.X, prevYValue2);
723
linePath.
AddLine
(firstPoint.X, firstPoint.Y, secondPoint.X, secondPoint.Y);
Common\General\AxisScaleSegments.cs (4)
658
path.
AddLine
(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Y);
662
path.
AddLine
(breakLinePosition.X, breakLinePosition.Bottom, breakLinePosition.Right, breakLinePosition.Bottom);
669
path.
AddLine
(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.X, breakLinePosition.Bottom);
673
path.
AddLine
(breakLinePosition.Right, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Bottom);
Common\General\ChartGraphics.cs (26)
3045
path.
AddLine
(gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size, gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size);
3046
path.
AddLine
(gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size, gradientRect.Right, gradientRect.Bottom);
3047
path.
AddLine
(gradientRect.Right, gradientRect.Bottom, gradientRect.Right, gradientRect.Y);
3051
path.
AddLine
(gradientRect.X + size, gradientRect.Y + gradientRect.Height/2f, gradientRect.Right - size, gradientRect.Y + gradientRect.Height/2f);
3052
path.
AddLine
(gradientRect.Right - size, gradientRect.Y + gradientRect.Height/2f, gradientRect.Right, gradientRect.Bottom);
3053
path.
AddLine
(gradientRect.Right, gradientRect.Bottom, gradientRect.Left, gradientRect.Bottom);
3069
path.
AddLine
(gradientRect.X, gradientRect.Y, gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size);
3070
path.
AddLine
(gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size, gradientRect.Right, gradientRect.Y);
3074
path.
AddLine
(gradientRect.Right, gradientRect.Y, gradientRect.Right - size, gradientRect.Y + gradientRect.Height / 2f);
3075
path.
AddLine
(gradientRect.Right - size, gradientRect.Y + gradientRect.Height / 2f, gradientRect.Right, gradientRect.Bottom);
3139
path.
AddLine
(gradientRect.X, gradientRect.Bottom, gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size);
3140
path.
AddLine
(gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size, gradientRect.Right, gradientRect.Bottom);
3144
path.
AddLine
(gradientRect.X, gradientRect.Y, gradientRect.X + size, gradientRect.Y + gradientRect.Height / 2f);
3145
path.
AddLine
(gradientRect.X + size, gradientRect.Y + gradientRect.Height / 2f, gradientRect.X, gradientRect.Bottom);
3803
path.
AddLine
(offset.X+radiusX, offset.Y, offset.Right-radiusX, offset.Y);
3805
path.
AddLine
(offset.Right, offset.Y + radiusY, offset.Right, offset.Bottom - radiusY);
3807
path.
AddLine
(offset.Right-radiusX, offset.Bottom, offset.X + radiusX, offset.Bottom);
3809
path.
AddLine
(offset.X, offset.Bottom-radiusY, offset.X, offset.Y+radiusY);
3814
path.
AddLine
(offset.X+radius, offset.Y, offset.Right-radius, offset.Y);
3816
path.
AddLine
(offset.Right, offset.Y + radius, offset.Right, offset.Bottom - radius);
3818
path.
AddLine
(offset.Right-radius, offset.Bottom, offset.X + radius, offset.Bottom);
3820
path.
AddLine
(offset.X, offset.Bottom-radius, offset.X, offset.Y+radius);
4791
path.
AddLine
(rect.X+cornerRadius[0], rect.Y, rect.Right-cornerRadius[1], rect.Y);
4793
path.
AddLine
(rect.Right, rect.Y + cornerRadius[2], rect.Right, rect.Bottom - cornerRadius[3]);
4795
path.
AddLine
(rect.Right-cornerRadius[4], rect.Bottom, rect.X + cornerRadius[5], rect.Bottom);
4797
path.
AddLine
(rect.X, rect.Bottom-cornerRadius[6], rect.X, rect.Y+cornerRadius[7]);
Common\General\ChartGraphics3D.cs (9)
434
path.
AddLine
(points[0].X, points[0].Y - 1, points[1].X, points[1].Y - 1);
435
path.
AddLine
(points[1].X, points[1].Y + 1, points[0].X, points[0].Y + 1);
440
path.
AddLine
(points[0].X - 1, points[0].Y, points[1].X - 1, points[1].Y);
441
path.
AddLine
(points[1].X + 1, points[1].Y, points[0].X + 1, points[0].Y);
739
path.
AddLine
(bottomFirstPoint.X, bottomFirstPoint.Y, bottomSecondPoint.X, bottomSecondPoint.Y);
753
path.
AddLine
(topFirstPoint.X, topFirstPoint.Y, topSecondPoint.X, topSecondPoint.Y);
2304
resultPath.
AddLine
(
2339
resultPath.
AddLine
(
2369
resultPath.
AddLine
(
Common\General\GridTickMarks.cs (8)
1500
path.
AddLine
(first.X, first.Y - 1, second.X, second.Y - 1);
1501
path.
AddLine
(second.X, second.Y + 1, first.X, first.Y + 1);
1506
path.
AddLine
(first.X - 1, first.Y, second.X - 1, second.Y);
1507
path.
AddLine
(second.X + 1, second.Y, first.X + 1, first.Y);
1595
path.
AddLine
(first.X, first.Y - 1, second.X, second.Y - 1);
1596
path.
AddLine
(second.X, second.Y + 1, first.X, first.Y + 1);
1601
path.
AddLine
(first.X - 1, first.Y, second.X - 1, second.Y);
1602
path.
AddLine
(second.X + 1, second.Y, first.X + 1, first.Y);
System.Windows.Forms.DataVisualization (99)
Common\Annotation\CalloutAnnotation.cs (2)
1848
path.
AddLine
(x1, y1, x1, y1 + distance);
1857
path.
AddLine
(x1, y1, x1 + distance, y1);
Common\ChartTypes\AreaChart.cs (7)
339
path.
AddLine
(point1.X, axisPos.Y, point1.X, point1.Y);
348
path.
AddLine
(point2.X, point2.Y, point2.X, axisPos.Y);
451
areaPath.
AddLine
(point1.X, axisPos.Y, point1.X, point1.Y);
496
mapAreaPath.
AddLine
(point1.X, axisPos.Y, point1.X, point1.Y);
506
mapAreaPath.
AddLine
(point2.X, point2.Y, point2.X, axisPos.Y);
507
mapAreaPath.
AddLine
(point2.X, axisPos.Y, point1.X, axisPos.Y);
602
areaPath.
AddLine
(areaPath.GetLastPoint().X, areaPath.GetLastPoint().Y, areaPath.GetLastPoint().X, axisPos.Y);
Common\ChartTypes\FastLineChart.cs (4)
634
path.
AddLine
(firstPointX, firstPointY - width, secondPointX, secondPointY - width);
635
path.
AddLine
(secondPointX, secondPointY + width, firstPointX, firstPointY + width);
640
path.
AddLine
(firstPointX - width, firstPointY, secondPointX - width, secondPointY);
641
path.
AddLine
(secondPointX + width, secondPointY, firstPointX + width, firstPointY);
Common\ChartTypes\FunnelChart.cs (16)
700
segmentPath.
AddLine
(
706
segmentPath.
AddLine
(
713
segmentPath.
AddLine
(
719
segmentPath.
AddLine
(
764
segmentPath.
AddLine
(
770
segmentPath.
AddLine
(
777
segmentPath.
AddLine
(
783
segmentPath.
AddLine
(
1036
segmentPath.
AddLine
(
1060
segmentPath.
AddLine
(
1063
segmentPath.
AddLine
(
1070
segmentPath.
AddLine
(
1110
segmentPath.
AddLine
(
1134
segmentPath.
AddLine
(
1137
segmentPath.
AddLine
(
1143
segmentPath.
AddLine
(
Common\ChartTypes\LineChart.cs (8)
881
path.
AddLine
(first.X, first.Y - width, second.X, second.Y - width);
882
path.
AddLine
(second.X, second.Y + width, first.X, first.Y + width);
887
path.
AddLine
(first.X - width, first.Y, second.X - width, second.Y);
888
path.
AddLine
(second.X + width, second.Y, first.X + width, first.Y);
910
path.
AddLine
(first.X, first.Y - width, second.X, second.Y - width);
911
path.
AddLine
(second.X, second.Y + width, first.X, first.Y + width);
916
path.
AddLine
(first.X - width, first.Y, second.X - width, second.Y);
917
path.
AddLine
(second.X + width, second.Y, first.X + width, first.Y);
Common\ChartTypes\RangeChart.cs (8)
262
areaPath.
AddLine
(
423
path.
AddLine
(highPoint1.X, lowPoint1.Y, highPoint1.X, highPoint1.Y);
433
path.
AddLine
(highPoint2.X, highPoint2.Y, highPoint2.X, lowPoint2.Y);
624
areaPath.
AddLine
(highPoint1.X, lowPoint1.Y, highPoint1.X, highPoint1.Y);
668
path.
AddLine
(highPoint1.X, lowPoint1.Y, highPoint1.X, highPoint1.Y);
677
path.
AddLine
(highPoint2.X, highPoint2.Y, highPoint2.X, lowPoint2.Y);
689
mapAreaPath.
AddLine
(highPoint1.X, lowPoint1.Y, highPoint1.X, highPoint1.Y);
699
mapAreaPath.
AddLine
(highPoint2.X, highPoint2.Y, highPoint2.X, lowPoint2.Y);
Common\ChartTypes\StackedAreaChart.cs (7)
585
path.
AddLine
(firstPoint.X, firstPoint.Y, secondPoint.X, secondPoint.Y);
586
path.
AddLine
(secondPoint.X, secondPoint.Y, secondPoint.X, prevYValue2);
587
path.
AddLine
(secondPoint.X, prevYValue2, firstPoint.X, prevYValue1);
588
path.
AddLine
(firstPoint.X, prevYValue1, firstPoint.X, firstPoint.Y);
680
areaPath.
AddLine
(firstPoint.X, firstPoint.Y, secondPoint.X, secondPoint.Y);
681
areaBottomPath.
AddLine
(firstPoint.X, prevYValue1, secondPoint.X, prevYValue2);
723
linePath.
AddLine
(firstPoint.X, firstPoint.Y, secondPoint.X, secondPoint.Y);
Common\General\AxisScaleSegments.cs (4)
658
path.
AddLine
(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Y);
662
path.
AddLine
(breakLinePosition.X, breakLinePosition.Bottom, breakLinePosition.Right, breakLinePosition.Bottom);
669
path.
AddLine
(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.X, breakLinePosition.Bottom);
673
path.
AddLine
(breakLinePosition.Right, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Bottom);
Common\General\ChartGraphics.cs (26)
3045
path.
AddLine
(gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size, gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size);
3046
path.
AddLine
(gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size, gradientRect.Right, gradientRect.Bottom);
3047
path.
AddLine
(gradientRect.Right, gradientRect.Bottom, gradientRect.Right, gradientRect.Y);
3051
path.
AddLine
(gradientRect.X + size, gradientRect.Y + gradientRect.Height/2f, gradientRect.Right - size, gradientRect.Y + gradientRect.Height/2f);
3052
path.
AddLine
(gradientRect.Right - size, gradientRect.Y + gradientRect.Height/2f, gradientRect.Right, gradientRect.Bottom);
3053
path.
AddLine
(gradientRect.Right, gradientRect.Bottom, gradientRect.Left, gradientRect.Bottom);
3069
path.
AddLine
(gradientRect.X, gradientRect.Y, gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size);
3070
path.
AddLine
(gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size, gradientRect.Right, gradientRect.Y);
3074
path.
AddLine
(gradientRect.Right, gradientRect.Y, gradientRect.Right - size, gradientRect.Y + gradientRect.Height / 2f);
3075
path.
AddLine
(gradientRect.Right - size, gradientRect.Y + gradientRect.Height / 2f, gradientRect.Right, gradientRect.Bottom);
3139
path.
AddLine
(gradientRect.X, gradientRect.Bottom, gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size);
3140
path.
AddLine
(gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size, gradientRect.Right, gradientRect.Bottom);
3144
path.
AddLine
(gradientRect.X, gradientRect.Y, gradientRect.X + size, gradientRect.Y + gradientRect.Height / 2f);
3145
path.
AddLine
(gradientRect.X + size, gradientRect.Y + gradientRect.Height / 2f, gradientRect.X, gradientRect.Bottom);
3803
path.
AddLine
(offset.X+radiusX, offset.Y, offset.Right-radiusX, offset.Y);
3805
path.
AddLine
(offset.Right, offset.Y + radiusY, offset.Right, offset.Bottom - radiusY);
3807
path.
AddLine
(offset.Right-radiusX, offset.Bottom, offset.X + radiusX, offset.Bottom);
3809
path.
AddLine
(offset.X, offset.Bottom-radiusY, offset.X, offset.Y+radiusY);
3814
path.
AddLine
(offset.X+radius, offset.Y, offset.Right-radius, offset.Y);
3816
path.
AddLine
(offset.Right, offset.Y + radius, offset.Right, offset.Bottom - radius);
3818
path.
AddLine
(offset.Right-radius, offset.Bottom, offset.X + radius, offset.Bottom);
3820
path.
AddLine
(offset.X, offset.Bottom-radius, offset.X, offset.Y+radius);
4791
path.
AddLine
(rect.X+cornerRadius[0], rect.Y, rect.Right-cornerRadius[1], rect.Y);
4793
path.
AddLine
(rect.Right, rect.Y + cornerRadius[2], rect.Right, rect.Bottom - cornerRadius[3]);
4795
path.
AddLine
(rect.Right-cornerRadius[4], rect.Bottom, rect.X + cornerRadius[5], rect.Bottom);
4797
path.
AddLine
(rect.X, rect.Bottom-cornerRadius[6], rect.X, rect.Y+cornerRadius[7]);
Common\General\ChartGraphics3D.cs (9)
434
path.
AddLine
(points[0].X, points[0].Y - 1, points[1].X, points[1].Y - 1);
435
path.
AddLine
(points[1].X, points[1].Y + 1, points[0].X, points[0].Y + 1);
440
path.
AddLine
(points[0].X - 1, points[0].Y, points[1].X - 1, points[1].Y);
441
path.
AddLine
(points[1].X + 1, points[1].Y, points[0].X + 1, points[0].Y);
739
path.
AddLine
(bottomFirstPoint.X, bottomFirstPoint.Y, bottomSecondPoint.X, bottomSecondPoint.Y);
753
path.
AddLine
(topFirstPoint.X, topFirstPoint.Y, topSecondPoint.X, topSecondPoint.Y);
2304
resultPath.
AddLine
(
2339
resultPath.
AddLine
(
2369
resultPath.
AddLine
(
Common\General\GridTickMarks.cs (8)
1500
path.
AddLine
(first.X, first.Y - 1, second.X, second.Y - 1);
1501
path.
AddLine
(second.X, second.Y + 1, first.X, first.Y + 1);
1506
path.
AddLine
(first.X - 1, first.Y, second.X - 1, second.Y);
1507
path.
AddLine
(second.X + 1, second.Y, first.X + 1, first.Y);
1595
path.
AddLine
(first.X, first.Y - 1, second.X, second.Y - 1);
1596
path.
AddLine
(second.X, second.Y + 1, first.X, first.Y + 1);
1601
path.
AddLine
(first.X - 1, first.Y, second.X - 1, second.Y);
1602
path.
AddLine
(second.X + 1, second.Y, first.X + 1, first.Y);