256 instantiations of LineSegment
PresentationCore (9)
PresentationFramework (30)
MS\Internal\Ink\PenCursorManager.cs (12)
464LineSegment segment = new LineSegment(new Point(16, 5), true);
468segment = new LineSegment(new Point(26, 15), true);
472segment = new LineSegment(new Point(15, 15), true);
476segment = new LineSegment(new Point(5, 5), true);
490segment = new LineSegment(new Point(5, 10), true);
494segment = new LineSegment(new Point(15, 19), true);
498segment = new LineSegment(new Point(15, 15), true);
502segment = new LineSegment(new Point(5, 5), true);
517segment = new LineSegment(new Point(15, 19), true);
521segment = new LineSegment(new Point(26, 19), true);
525segment = new LineSegment(new Point(26, 15), true);
529segment = new LineSegment(new Point(15, 15), true);
System\Windows\Controls\Primitives\TickBar.cs (8)
524new LineSegment(pt2, true),
525new LineSegment(pt0, true),
537new LineSegment(pt2, true),
538new LineSegment(pt0, true),
629new LineSegment(pt2, true),
630new LineSegment(pt0, true),
642new LineSegment(pt2, true),
643new LineSegment(pt0, true),
PresentationFramework.Aero (42)
Microsoft\Windows\Themes\BulletChrome.cs (7)
888figure.Segments.Add(new LineSegment(new Point(10.667, 3.167), true));
889figure.Segments.Add(new LineSegment(new Point(7, 10.667), true));
890figure.Segments.Add(new LineSegment(new Point(5.333, 10.667), true));
891figure.Segments.Add(new LineSegment(new Point(3.333, 8.167), true));
892figure.Segments.Add(new LineSegment(new Point(3.333, 6.833), true));
893figure.Segments.Add(new LineSegment(new Point(4.833, 6.5), true));
894figure.Segments.Add(new LineSegment(new Point(6, 8), true));
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
480borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left, bounds.Bottom), false));
481borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Bottom), false));
482borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Top), false));
492borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false));
493borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false));
494borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
608figure.Segments.Add(new LineSegment(new Point(0, 3.5), true));
609figure.Segments.Add(new LineSegment(new Point(4.0, 7.0), true));
640figure.Segments.Add(new LineSegment(new Point(4, 3.5), true));
641figure.Segments.Add(new LineSegment(new Point(0.0, 7.0), true));
672figure.Segments.Add(new LineSegment(new Point(3.5, 0), true));
673figure.Segments.Add(new LineSegment(new Point(7.0, 4.0), true));
704figure.Segments.Add(new LineSegment(new Point(3.5, 4.0), true));
705figure.Segments.Add(new LineSegment(new Point(7.0, 0.0), true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
230figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true));
231figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true));
240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true));
241figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true));
242figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true));
246figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true));
251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true));
252figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true));
253figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true));
257figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true));
263figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true));
264figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true));
265figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true));
269figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Aero2 (42)
Microsoft\Windows\Themes\BulletChrome.cs (7)
888figure.Segments.Add(new LineSegment(new Point(10.667, 3.167), true));
889figure.Segments.Add(new LineSegment(new Point(7, 10.667), true));
890figure.Segments.Add(new LineSegment(new Point(5.333, 10.667), true));
891figure.Segments.Add(new LineSegment(new Point(3.333, 8.167), true));
892figure.Segments.Add(new LineSegment(new Point(3.333, 6.833), true));
893figure.Segments.Add(new LineSegment(new Point(4.833, 6.5), true));
894figure.Segments.Add(new LineSegment(new Point(6, 8), true));
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
480borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left, bounds.Bottom), false));
481borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Bottom), false));
482borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Top), false));
492borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false));
493borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false));
494borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
608figure.Segments.Add(new LineSegment(new Point(0, 3.5), true));
609figure.Segments.Add(new LineSegment(new Point(4.0, 7.0), true));
640figure.Segments.Add(new LineSegment(new Point(4, 3.5), true));
641figure.Segments.Add(new LineSegment(new Point(0.0, 7.0), true));
672figure.Segments.Add(new LineSegment(new Point(3.5, 0), true));
673figure.Segments.Add(new LineSegment(new Point(7.0, 4.0), true));
704figure.Segments.Add(new LineSegment(new Point(3.5, 4.0), true));
705figure.Segments.Add(new LineSegment(new Point(7.0, 0.0), true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
230figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true));
231figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true));
240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true));
241figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true));
242figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true));
246figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true));
251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true));
252figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true));
253figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true));
257figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true));
263figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true));
264figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true));
265figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true));
269figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.AeroLite (18)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
230figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true));
231figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true));
240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true));
241figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true));
242figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true));
246figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true));
251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true));
252figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true));
253figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true));
257figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true));
263figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true));
264figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true));
265figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true));
269figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Classic (29)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (11)
878figure.Segments.Add(new LineSegment(rect.TopRight, true));
879figure.Segments.Add(new LineSegment(rect.BottomRight, true));
880figure.Segments.Add(new LineSegment(rect.BottomLeft, true));
1084figure.Segments.Add(new LineSegment(new Point(left, top + outerRadius), true)); //left side
1086figure.Segments.Add(new LineSegment(new Point(right - outerRadius, top), true)); //top side
1088figure.Segments.Add(new LineSegment(new Point(right - 1.0 - innerRadius * 0.293, top + 1.0 + innerRadius * 0.293), true)); //inner top right corner
1090figure.Segments.Add(new LineSegment(new Point(left + outerRadius, top + 1.0), true)); //inner top side
1092figure.Segments.Add(new LineSegment(new Point(left + 1.0, bottom), true)); //inner right side
1118figure.Segments.Add(new LineSegment(new Point(right - 1.0, top + outerRadius), true)); //left side
1120figure.Segments.Add(new LineSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), true)); //top right corner
1122figure.Segments.Add(new LineSegment(new Point(right, bottom), true)); //right side
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
230figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true));
231figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true));
240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true));
241figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true));
242figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true));
246figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true));
251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true));
252figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true));
253figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true));
257figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true));
263figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true));
264figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true));
265figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true));
269figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Luna (43)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
179LineSegment line = new LineSegment(new Point(size.Width - 0.5, 0.5), true);
187line = new LineSegment(new Point(2.5, 2.5), true);
326LineSegment line = new LineSegment(new Point(5.0, 0.0), false);
330line = new LineSegment(new Point(10.0, 5.0), false);
338LineSegment line = new LineSegment(new Point(10.0, 0.0), false);
342line = new LineSegment(new Point(5.0, 5.0), false);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
441figure.Segments.Add(new LineSegment(new Point(0.0, 4.5), true));
442figure.Segments.Add(new LineSegment(new Point(4.5, 9.0), true));
443figure.Segments.Add(new LineSegment(new Point(6.0, 7.5), true));
444figure.Segments.Add(new LineSegment(new Point(3.0, 4.5), true));
445figure.Segments.Add(new LineSegment(new Point(6.0, 1.5), true));
476figure.Segments.Add(new LineSegment(new Point(8.0, 4.5), true));
477figure.Segments.Add(new LineSegment(new Point(3.5, 9.0), true));
478figure.Segments.Add(new LineSegment(new Point(2.0, 7.5), true));
479figure.Segments.Add(new LineSegment(new Point(5.0, 4.5), true));
480figure.Segments.Add(new LineSegment(new Point(2.0, 1.5), true));
511figure.Segments.Add(new LineSegment(new Point(4.5, 0.0), true));
512figure.Segments.Add(new LineSegment(new Point(9.0, 4.5), true));
513figure.Segments.Add(new LineSegment(new Point(7.5, 6.0), true));
514figure.Segments.Add(new LineSegment(new Point(4.5, 3.0), true));
515figure.Segments.Add(new LineSegment(new Point(1.5, 6.0), true));
546figure.Segments.Add(new LineSegment(new Point(4.5, 8.0), true));
547figure.Segments.Add(new LineSegment(new Point(9.0, 3.5), true));
548figure.Segments.Add(new LineSegment(new Point(7.5, 2.0), true));
549figure.Segments.Add(new LineSegment(new Point(4.5, 5.0), true));
550figure.Segments.Add(new LineSegment(new Point(1.5, 2.0), true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
230figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true));
231figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true));
240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true));
241figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true));
242figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true));
246figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true));
251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true));
252figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true));
253figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true));
257figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true));
263figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true));
264figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true));
265figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true));
269figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Royale (43)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
108LineSegment line = new LineSegment(new Point(size.Width - 0.5, 0.5), true);
116line = new LineSegment(new Point(2.5, 2.5), true);
248LineSegment line = new LineSegment(new Point(5.0, 0.0), false);
252line = new LineSegment(new Point(10.0, 5.0), false);
260LineSegment line = new LineSegment(new Point(10.0, 0.0), false);
264line = new LineSegment(new Point(5.0, 5.0), false);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
401figure.Segments.Add(new LineSegment(new Point(0.0, 4.5), true));
402figure.Segments.Add(new LineSegment(new Point(4.5, 9.0), true));
403figure.Segments.Add(new LineSegment(new Point(6.0, 7.5), true));
404figure.Segments.Add(new LineSegment(new Point(3.0, 4.5), true));
405figure.Segments.Add(new LineSegment(new Point(6.0, 1.5), true));
436figure.Segments.Add(new LineSegment(new Point(8.0, 4.5), true));
437figure.Segments.Add(new LineSegment(new Point(3.5, 9.0), true));
438figure.Segments.Add(new LineSegment(new Point(2.0, 7.5), true));
439figure.Segments.Add(new LineSegment(new Point(5.0, 4.5), true));
440figure.Segments.Add(new LineSegment(new Point(2.0, 1.5), true));
471figure.Segments.Add(new LineSegment(new Point(4.5, 0.0), true));
472figure.Segments.Add(new LineSegment(new Point(9.0, 4.5), true));
473figure.Segments.Add(new LineSegment(new Point(7.5, 6.0), true));
474figure.Segments.Add(new LineSegment(new Point(4.5, 3.0), true));
475figure.Segments.Add(new LineSegment(new Point(1.5, 6.0), true));
506figure.Segments.Add(new LineSegment(new Point(4.5, 8.0), true));
507figure.Segments.Add(new LineSegment(new Point(9.0, 3.5), true));
508figure.Segments.Add(new LineSegment(new Point(7.5, 2.0), true));
509figure.Segments.Add(new LineSegment(new Point(4.5, 5.0), true));
510figure.Segments.Add(new LineSegment(new Point(1.5, 2.0), true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
230figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true));
231figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true));
240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true));
241figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true));
242figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true));
246figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true));
251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true));
252figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true));
253figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true));
257figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true));
263figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true));
264figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true));
265figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true));
269figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
36 references to LineSegment
PresentationCore (6)
PresentationFramework (6)
PresentationFramework.Aero (2)
PresentationFramework.Aero2 (2)
PresentationFramework.AeroLite (2)
PresentationFramework.Classic (2)
PresentationFramework.Luna (3)
PresentationFramework.Royale (3)
ReachFramework (10)