256 instantiations of LineSegment
PresentationCore (9)
PresentationFramework (30)
MS\Internal\Ink\PenCursorManager.cs (12)
458LineSegment segment = new LineSegment(new Point(16, 5), true);
462segment = new LineSegment(new Point(26, 15), true);
466segment = new LineSegment(new Point(15, 15), true);
470segment = new LineSegment(new Point(5, 5), true);
482segment = new LineSegment(new Point(5, 10), true);
486segment = new LineSegment(new Point(15, 19), true);
490segment = new LineSegment(new Point(15, 15), true);
494segment = new LineSegment(new Point(5, 5), true);
507segment = new LineSegment(new Point(15, 19), true);
511segment = new LineSegment(new Point(26, 19), true);
515segment = new LineSegment(new Point(26, 15), true);
519segment = 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)
872figure.Segments.Add(new LineSegment(new Point(10.667, 3.167), true));
873figure.Segments.Add(new LineSegment(new Point(7, 10.667), true));
874figure.Segments.Add(new LineSegment(new Point(5.333, 10.667), true));
875figure.Segments.Add(new LineSegment(new Point(3.333, 8.167), true));
876figure.Segments.Add(new LineSegment(new Point(3.333, 6.833), true));
877figure.Segments.Add(new LineSegment(new Point(4.833, 6.5), true));
878figure.Segments.Add(new LineSegment(new Point(6, 8), true));
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
477borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left, bounds.Bottom), false));
478borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Bottom), false));
479borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Top), false));
488borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false));
489borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false));
490borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
598figure.Segments.Add(new LineSegment(new Point(0, 3.5), true));
599figure.Segments.Add(new LineSegment(new Point(4.0, 7.0), true));
628figure.Segments.Add(new LineSegment(new Point(4, 3.5), true));
629figure.Segments.Add(new LineSegment(new Point(0.0, 7.0), true));
658figure.Segments.Add(new LineSegment(new Point(3.5, 0), true));
659figure.Segments.Add(new LineSegment(new Point(7.0, 4.0), true));
688figure.Segments.Add(new LineSegment(new Point(3.5, 4.0), true));
689figure.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)
872figure.Segments.Add(new LineSegment(new Point(10.667, 3.167), true));
873figure.Segments.Add(new LineSegment(new Point(7, 10.667), true));
874figure.Segments.Add(new LineSegment(new Point(5.333, 10.667), true));
875figure.Segments.Add(new LineSegment(new Point(3.333, 8.167), true));
876figure.Segments.Add(new LineSegment(new Point(3.333, 6.833), true));
877figure.Segments.Add(new LineSegment(new Point(4.833, 6.5), true));
878figure.Segments.Add(new LineSegment(new Point(6, 8), true));
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
477borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left, bounds.Bottom), false));
478borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Bottom), false));
479borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Top), false));
488borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false));
489borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false));
490borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
598figure.Segments.Add(new LineSegment(new Point(0, 3.5), true));
599figure.Segments.Add(new LineSegment(new Point(4.0, 7.0), true));
628figure.Segments.Add(new LineSegment(new Point(4, 3.5), true));
629figure.Segments.Add(new LineSegment(new Point(0.0, 7.0), true));
658figure.Segments.Add(new LineSegment(new Point(3.5, 0), true));
659figure.Segments.Add(new LineSegment(new Point(7.0, 4.0), true));
688figure.Segments.Add(new LineSegment(new Point(3.5, 4.0), true));
689figure.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)
874figure.Segments.Add(new LineSegment(rect.TopRight, true));
875figure.Segments.Add(new LineSegment(rect.BottomRight, true));
876figure.Segments.Add(new LineSegment(rect.BottomLeft, true));
1078figure.Segments.Add(new LineSegment(new Point(left, top + outerRadius), true)); //left side
1080figure.Segments.Add(new LineSegment(new Point(right - outerRadius, top), true)); //top side
1082figure.Segments.Add(new LineSegment(new Point(right - 1.0 - innerRadius * 0.293, top + 1.0 + innerRadius * 0.293), true)); //inner top right corner
1084figure.Segments.Add(new LineSegment(new Point(left + outerRadius, top + 1.0), true)); //inner top side
1086figure.Segments.Add(new LineSegment(new Point(left + 1.0, bottom), true)); //inner right side
1110figure.Segments.Add(new LineSegment(new Point(right - 1.0, top + outerRadius), true)); //left side
1112figure.Segments.Add(new LineSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), true)); //top right corner
1114figure.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)
176LineSegment line = new LineSegment(new Point(size.Width - 0.5, 0.5), true);
184line = new LineSegment(new Point(2.5, 2.5), true);
319LineSegment line = new LineSegment(new Point(5.0, 0.0), false);
323line = new LineSegment(new Point(10.0, 5.0), false);
331LineSegment line = new LineSegment(new Point(10.0, 0.0), false);
335line = new LineSegment(new Point(5.0, 5.0), false);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
439figure.Segments.Add(new LineSegment(new Point(0.0, 4.5), true));
440figure.Segments.Add(new LineSegment(new Point(4.5, 9.0), true));
441figure.Segments.Add(new LineSegment(new Point(6.0, 7.5), true));
442figure.Segments.Add(new LineSegment(new Point(3.0, 4.5), true));
443figure.Segments.Add(new LineSegment(new Point(6.0, 1.5), true));
472figure.Segments.Add(new LineSegment(new Point(8.0, 4.5), true));
473figure.Segments.Add(new LineSegment(new Point(3.5, 9.0), true));
474figure.Segments.Add(new LineSegment(new Point(2.0, 7.5), true));
475figure.Segments.Add(new LineSegment(new Point(5.0, 4.5), true));
476figure.Segments.Add(new LineSegment(new Point(2.0, 1.5), true));
505figure.Segments.Add(new LineSegment(new Point(4.5, 0.0), true));
506figure.Segments.Add(new LineSegment(new Point(9.0, 4.5), true));
507figure.Segments.Add(new LineSegment(new Point(7.5, 6.0), true));
508figure.Segments.Add(new LineSegment(new Point(4.5, 3.0), true));
509figure.Segments.Add(new LineSegment(new Point(1.5, 6.0), true));
538figure.Segments.Add(new LineSegment(new Point(4.5, 8.0), true));
539figure.Segments.Add(new LineSegment(new Point(9.0, 3.5), true));
540figure.Segments.Add(new LineSegment(new Point(7.5, 2.0), true));
541figure.Segments.Add(new LineSegment(new Point(4.5, 5.0), true));
542figure.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)
105LineSegment line = new LineSegment(new Point(size.Width - 0.5, 0.5), true);
113line = new LineSegment(new Point(2.5, 2.5), true);
241LineSegment line = new LineSegment(new Point(5.0, 0.0), false);
245line = new LineSegment(new Point(10.0, 5.0), false);
253LineSegment line = new LineSegment(new Point(10.0, 0.0), false);
257line = new LineSegment(new Point(5.0, 5.0), false);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
399figure.Segments.Add(new LineSegment(new Point(0.0, 4.5), true));
400figure.Segments.Add(new LineSegment(new Point(4.5, 9.0), true));
401figure.Segments.Add(new LineSegment(new Point(6.0, 7.5), true));
402figure.Segments.Add(new LineSegment(new Point(3.0, 4.5), true));
403figure.Segments.Add(new LineSegment(new Point(6.0, 1.5), true));
432figure.Segments.Add(new LineSegment(new Point(8.0, 4.5), true));
433figure.Segments.Add(new LineSegment(new Point(3.5, 9.0), true));
434figure.Segments.Add(new LineSegment(new Point(2.0, 7.5), true));
435figure.Segments.Add(new LineSegment(new Point(5.0, 4.5), true));
436figure.Segments.Add(new LineSegment(new Point(2.0, 1.5), true));
465figure.Segments.Add(new LineSegment(new Point(4.5, 0.0), true));
466figure.Segments.Add(new LineSegment(new Point(9.0, 4.5), true));
467figure.Segments.Add(new LineSegment(new Point(7.5, 6.0), true));
468figure.Segments.Add(new LineSegment(new Point(4.5, 3.0), true));
469figure.Segments.Add(new LineSegment(new Point(1.5, 6.0), true));
498figure.Segments.Add(new LineSegment(new Point(4.5, 8.0), true));
499figure.Segments.Add(new LineSegment(new Point(9.0, 3.5), true));
500figure.Segments.Add(new LineSegment(new Point(7.5, 2.0), true));
501figure.Segments.Add(new LineSegment(new Point(4.5, 5.0), true));
502figure.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)