69 references to AddLine
System.Drawing (1)
commonui\System\Drawing\Advanced\GraphicsPath.cs (1)
730
AddLine
(pt1.X, pt1.Y, pt2.X, pt2.Y);
System.Workflow.Activities (8)
Designers\StateMachineDesignerPaint.cs (8)
387
lineCapPath.
AddLine
(capSize.Width / 2, -capSize.Height, 0, 0);
388
lineCapPath.
AddLine
(0, 0, -capSize.Width / 2, -capSize.Height);
389
lineCapPath.
AddLine
(-capSize.Width / 2, -capSize.Height, 0, -capSize.Height + arcRadius);
390
lineCapPath.
AddLine
(0, -capSize.Height + arcRadius, capSize.Width / 2, -capSize.Height);
396
lineCapPath.
AddLine
(0, -capSize.Height, capSize.Width / 2, -capSize.Height / 2);
397
lineCapPath.
AddLine
(capSize.Width / 2, -capSize.Height / 2, 0, 0);
398
lineCapPath.
AddLine
(0, 0, -capSize.Width / 2, -capSize.Height / 2);
399
lineCapPath.
AddLine
(-capSize.Width / 2, -capSize.Height / 2, 0, -capSize.Height);
System.Workflow.ComponentModel (60)
AuthoringOM\Design\DesignerHelpers.cs (60)
705
lineCapPath.
AddLine
(capSize.Width / 2, -capSize.Height, 0, 0);
706
lineCapPath.
AddLine
(0, 0, -capSize.Width / 2, -capSize.Height);
707
lineCapPath.
AddLine
(-capSize.Width / 2, -capSize.Height, 0, -capSize.Height + arcRadius);
708
lineCapPath.
AddLine
(0, -capSize.Height + arcRadius, capSize.Width / 2, -capSize.Height);
714
lineCapPath.
AddLine
(0, -capSize.Height, capSize.Width / 2, -capSize.Height / 2);
715
lineCapPath.
AddLine
(capSize.Width / 2, -capSize.Height / 2, 0, 0);
716
lineCapPath.
AddLine
(0, 0, -capSize.Width / 2, -capSize.Height / 2);
717
lineCapPath.
AddLine
(-capSize.Width / 2, -capSize.Height / 2, 0, -capSize.Height);
758
roundedRectangle.
AddLine
(rectangle.Left, rectangle.Bottom - radius, rectangle.Left, rectangle.Top + radius);
760
roundedRectangle.
AddLine
(rectangle.Left + radius, rectangle.Top, rectangle.Right - radius, rectangle.Top);
762
roundedRectangle.
AddLine
(rectangle.Right, rectangle.Top + radius, rectangle.Right, rectangle.Bottom - radius);
764
roundedRectangle.
AddLine
(rectangle.Right - radius, rectangle.Bottom, rectangle.Left + radius, rectangle.Bottom);
784
scrollIndicatorPath.
AddLine
(bounds.Left + (bounds.Width - arrowSize.Width) / 2, bounds.Top, bounds.Left + (bounds.Width - arrowSize.Width) / 2, bounds.Top + arrowSize.Height);
785
scrollIndicatorPath.
AddLine
(bounds.Left + (bounds.Width - arrowSize.Width) / 2, bounds.Top + arrowSize.Height, bounds.Left + (bounds.Width - arrowSize.Width) / 2 + arrowSize.Width, bounds.Top + midPoint);
786
scrollIndicatorPath.
AddLine
(bounds.Left + (bounds.Width - arrowSize.Width) / 2 + arrowSize.Width, bounds.Top + midPoint, bounds.Left + (bounds.Width - arrowSize.Width) / 2, bounds.Top);
790
scrollIndicatorPath.
AddLine
(bounds.Left + (bounds.Width - arrowSize.Width) / 2, bounds.Top + midPoint, bounds.Left + (bounds.Width - arrowSize.Width) / 2 + arrowSize.Width, bounds.Top + arrowSize.Height);
791
scrollIndicatorPath.
AddLine
(bounds.Left + (bounds.Width - arrowSize.Width) / 2 + arrowSize.Width, bounds.Top + arrowSize.Height, bounds.Left + (bounds.Width - arrowSize.Width) / 2 + arrowSize.Width, bounds.Top);
792
scrollIndicatorPath.
AddLine
(bounds.Left + (bounds.Width - arrowSize.Width) / 2 + arrowSize.Width, bounds.Top, bounds.Left + (bounds.Width - arrowSize.Width) / 2, bounds.Top + midPoint);
803
scrollIndicatorPath.
AddLine
(bounds.Left, bounds.Top + (bounds.Height - arrowSize.Height) / 2, bounds.Left + arrowSize.Width, bounds.Top + (bounds.Height - arrowSize.Height) / 2);
804
scrollIndicatorPath.
AddLine
(bounds.Left + arrowSize.Width, bounds.Top + (bounds.Height - arrowSize.Height) / 2, bounds.Left + midPoint, bounds.Top + (bounds.Height - arrowSize.Height) / 2 + arrowSize.Height);
805
scrollIndicatorPath.
AddLine
(bounds.Left + midPoint, bounds.Top + (bounds.Height - arrowSize.Height) / 2 + arrowSize.Height, bounds.Left, bounds.Top + (bounds.Height - arrowSize.Height) / 2);
809
scrollIndicatorPath.
AddLine
(bounds.Left + midPoint, bounds.Top + (bounds.Height - arrowSize.Height) / 2, bounds.Left + arrowSize.Width, bounds.Top + (bounds.Height - arrowSize.Height) / 2 + arrowSize.Height);
810
scrollIndicatorPath.
AddLine
(bounds.Left + arrowSize.Width, bounds.Top + (bounds.Height - arrowSize.Height) / 2 + arrowSize.Height, bounds.Left, bounds.Top + (bounds.Height - arrowSize.Height) / 2 + arrowSize.Height);
811
scrollIndicatorPath.
AddLine
(bounds.Left, bounds.Top + (bounds.Height - arrowSize.Height) / 2 + arrowSize.Height, bounds.Left + midPoint, bounds.Top + (bounds.Height - arrowSize.Height) / 2);
828
pagePaths[0].
AddLine
(pageBounds.Left, pageBounds.Top + pageFoldSize, pageBounds.Left + pageFoldSize, pageBounds.Top + pageFoldSize);
829
pagePaths[0].
AddLine
(pageBounds.Left + pageFoldSize, pageBounds.Top + pageFoldSize, pageBounds.Left + pageFoldSize, pageBounds.Top);
830
pagePaths[0].
AddLine
(pageBounds.Left + pageFoldSize, pageBounds.Top, pageBounds.Right, pageBounds.Top);
831
pagePaths[0].
AddLine
(pageBounds.Right, pageBounds.Top, pageBounds.Right, pageBounds.Bottom);
832
pagePaths[0].
AddLine
(pageBounds.Right, pageBounds.Bottom, pageBounds.Left, pageBounds.Bottom);
833
pagePaths[0].
AddLine
(pageBounds.Left, pageBounds.Bottom, pageBounds.Left, pageBounds.Top + pageFoldSize);
837
pagePaths[1].
AddLine
(pageBounds.Left, pageBounds.Top + pageFoldSize, pageBounds.Left + pageFoldSize, pageBounds.Top + pageFoldSize);
838
pagePaths[1].
AddLine
(pageBounds.Left + pageFoldSize, pageBounds.Top + pageFoldSize, pageBounds.Left + pageFoldSize, pageBounds.Top);
839
pagePaths[1].
AddLine
(pageBounds.Left + pageFoldSize, pageBounds.Top, pageBounds.Left, pageBounds.Top + pageFoldSize);
845
pagePaths[0].
AddLine
(pageBounds.Left, pageBounds.Top, pageBounds.Right, pageBounds.Top);
846
pagePaths[0].
AddLine
(pageBounds.Right, pageBounds.Top, pageBounds.Right, pageBounds.Bottom);
847
pagePaths[0].
AddLine
(pageBounds.Right, pageBounds.Bottom, pageBounds.Left + pageFoldSize, pageBounds.Bottom);
848
pagePaths[0].
AddLine
(pageBounds.Left + pageFoldSize, pageBounds.Bottom, pageBounds.Left + pageFoldSize, pageBounds.Bottom - pageFoldSize);
849
pagePaths[0].
AddLine
(pageBounds.Left + pageFoldSize, pageBounds.Bottom - pageFoldSize, pageBounds.Left, pageBounds.Bottom - pageFoldSize);
850
pagePaths[0].
AddLine
(pageBounds.Left, pageBounds.Bottom - pageFoldSize, pageBounds.Left, pageBounds.Top);
854
pagePaths[1].
AddLine
(pageBounds.Left + pageFoldSize, pageBounds.Bottom, pageBounds.Left + pageFoldSize, pageBounds.Bottom - pageFoldSize);
855
pagePaths[1].
AddLine
(pageBounds.Left + pageFoldSize, pageBounds.Bottom - pageFoldSize, pageBounds.Left, pageBounds.Bottom - pageFoldSize);
856
pagePaths[1].
AddLine
(pageBounds.Left, pageBounds.Bottom - pageFoldSize, pageBounds.Left + pageFoldSize, pageBounds.Bottom);
863
pagePaths[0].
AddLine
(pageBounds.Left, pageBounds.Top, pageBounds.Right - pageFoldSize, pageBounds.Top);
864
pagePaths[0].
AddLine
(pageBounds.Right - pageFoldSize, pageBounds.Top, pageBounds.Right - pageFoldSize, pageBounds.Top + pageFoldSize);
865
pagePaths[0].
AddLine
(pageBounds.Right - pageFoldSize, pageBounds.Top + pageFoldSize, pageBounds.Right, pageBounds.Top + pageFoldSize);
866
pagePaths[0].
AddLine
(pageBounds.Right, pageBounds.Top + pageFoldSize, pageBounds.Right, pageBounds.Bottom);
867
pagePaths[0].
AddLine
(pageBounds.Right, pageBounds.Bottom, pageBounds.Left, pageBounds.Bottom);
868
pagePaths[0].
AddLine
(pageBounds.Left, pageBounds.Bottom, pageBounds.Left, pageBounds.Top);
872
pagePaths[1].
AddLine
(pageBounds.Right - pageFoldSize, pageBounds.Top, pageBounds.Right - pageFoldSize, pageBounds.Top + pageFoldSize);
873
pagePaths[1].
AddLine
(pageBounds.Right - pageFoldSize, pageBounds.Top + pageFoldSize, pageBounds.Right, pageBounds.Top + pageFoldSize);
874
pagePaths[1].
AddLine
(pageBounds.Right, pageBounds.Top + pageFoldSize, pageBounds.Right - pageFoldSize, pageBounds.Top);
880
pagePaths[0].
AddLine
(pageBounds.Left, pageBounds.Top, pageBounds.Right, pageBounds.Top);
881
pagePaths[0].
AddLine
(pageBounds.Right, pageBounds.Top, pageBounds.Right, pageBounds.Bottom - pageFoldSize);
882
pagePaths[0].
AddLine
(pageBounds.Right, pageBounds.Bottom - pageFoldSize, pageBounds.Right - pageFoldSize, pageBounds.Bottom - pageFoldSize);
883
pagePaths[0].
AddLine
(pageBounds.Right - pageFoldSize, pageBounds.Bottom - pageFoldSize, pageBounds.Right - pageFoldSize, pageBounds.Bottom);
884
pagePaths[0].
AddLine
(pageBounds.Right - pageFoldSize, pageBounds.Bottom, pageBounds.Left, pageBounds.Bottom);
885
pagePaths[0].
AddLine
(pageBounds.Left, pageBounds.Bottom, pageBounds.Left, pageBounds.Top);
889
pagePaths[1].
AddLine
(pageBounds.Right, pageBounds.Bottom - pageFoldSize, pageBounds.Right - pageFoldSize, pageBounds.Bottom - pageFoldSize);
890
pagePaths[1].
AddLine
(pageBounds.Right - pageFoldSize, pageBounds.Bottom - pageFoldSize, pageBounds.Right - pageFoldSize, pageBounds.Bottom);
891
pagePaths[1].
AddLine
(pageBounds.Right - pageFoldSize, pageBounds.Bottom, pageBounds.Right, pageBounds.Bottom - pageFoldSize);