256 instantiations of LineSegment
PresentationCore (9)
System\Windows\Media\ArcSegment.cs (1)
108figure.Segments.Add(new LineSegment(points[0], isStroked, isSmoothJoin));
System\Windows\Media\Generated\LineSegment.cs (1)
90return new LineSegment();
System\Windows\Media\LineGeometry.cs (1)
220new PathSegment[]{new LineSegment(endPoint, true)},
System\Windows\Media\LineSegment.cs (1)
58figure.Segments.Add(new LineSegment(pt, IsStroked, IsSmoothJoin));
System\Windows\Media\PathGeometry.cs (1)
480figure.Segments.Add(new LineSegment(new Point(pPoints[pointIndex].X, pPoints[pointIndex].Y), fStroked, fSmooth));
System\Windows\Media\PathStreamGeometryContext.cs (1)
379LineSegment lSegment = new LineSegment();
System\Windows\Media\RectangleGeometry.cs (3)
332new LineSegment(points[4], true, true), 334new LineSegment(points[8], true, true), 336new LineSegment(points[12], true, true),
PresentationFramework (30)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
259PathSegment line = new LineSegment(new Point(hatchRect.Right, hatchRect.Top), true); 263line = new LineSegment(new Point(hatchRect.Right, hatchRect.Bottom), true); 267line = new LineSegment(new Point(hatchRect.Left, hatchRect.Bottom), true); 271line = new LineSegment(new Point(hatchRect.Left, hatchRect.Top), true);
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),
System\windows\Documents\CaretElement.cs (2)
723pathFigure.Segments.Add(new LineSegment(new Point(-bidiCaretIndicatorWidth, 0), true)); 724pathFigure.Segments.Add(new LineSegment(new Point(0, _height / BidiIndicatorHeightRatio), true));
System\Windows\Documents\CompositionAdorner.cs (2)
283pathFigure.Segments.Add(new LineSegment(pathPoint, true)); 288pathFigure.Segments.Add(new LineSegment(pathPoint, true));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6185bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.LineSegment(); };
System\Windows\Markup\KnownTypes.cs (1)
1368case KnownElements.LineSegment: o = new System.Windows.Media.LineSegment(); break;
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\ButtonChrome.cs (3)
614borderFigure.Segments.Add(new LineSegment(new Point(0.5, bounds.Bottom - 0.5), true)); 615borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true)); 617borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
323LineSegment line = new LineSegment(new Point(4.0, 0.0), false); 327line = new LineSegment(new Point(8.0, 4.0), false); 335LineSegment line = new LineSegment(new Point(8.0, 0.0), false); 339line = new LineSegment(new Point(4.0, 4.0), false);
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\ButtonChrome.cs (3)
614borderFigure.Segments.Add(new LineSegment(new Point(0.5, bounds.Bottom - 0.5), true)); 615borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true)); 617borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
323LineSegment line = new LineSegment(new Point(4.0, 0.0), false); 327line = new LineSegment(new Point(8.0, 4.0), false); 335LineSegment line = new LineSegment(new Point(8.0, 0.0), false); 339line = new LineSegment(new Point(4.0, 4.0), false);
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)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
195LineSegment line = new LineSegment(new Point(4.0, 0.0), false); 199line = new LineSegment(new Point(8.0, 4.0), false); 207LineSegment line = new LineSegment(new Point(8.0, 0.0), false); 211line = new LineSegment(new Point(4.0, 4.0), false);
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
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
153LineSegment line = new LineSegment(new Point(5.0, 0.0), false); 157line = new LineSegment(new Point(10.0, 5.0), false); 165LineSegment line = new LineSegment(new Point(10.0, 0.0), false); 169line = new LineSegment(new Point(5.0, 5.0), false);
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\BulletChrome.cs (3)
464figure.Segments.Add(new LineSegment(rect.TopRight, true)); 465figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 466figure.Segments.Add(new LineSegment(rect.BottomLeft, 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\BulletChrome.cs (3)
464figure.Segments.Add(new LineSegment(rect.TopRight, true)); 465figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 466figure.Segments.Add(new LineSegment(rect.BottomLeft, 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)
System\Windows\Media\Generated\LineSegment.cs (5)
29public new LineSegment Clone() 31return (LineSegment)base.Clone(); 38public new LineSegment CloneCurrentValue() 40return (LineSegment)base.CloneCurrentValue(); 193Type typeofThis = typeof(LineSegment);
System\Windows\Media\PathStreamGeometryContext.cs (1)
379LineSegment lSegment = new LineSegment();
PresentationFramework (6)
MS\Internal\Ink\PenCursorManager.cs (1)
458LineSegment segment = new LineSegment(new Point(16, 5), true);
System\Windows\Documents\FixedSOMPageConstructor.cs (2)
974else if (pathSegment is LineSegment) 976Point endPoint = (pathSegment as LineSegment).Point;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
447case 353: t = () => typeof(LineSegment); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6183typeof(System.Windows.Media.LineSegment),
System\Windows\Markup\KnownTypes.cs (1)
5907case KnownElements.LineSegment: t = typeof(System.Windows.Media.LineSegment); break;
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
323LineSegment line = new LineSegment(new Point(4.0, 0.0), false); 335LineSegment line = new LineSegment(new Point(8.0, 0.0), false);
PresentationFramework.Aero2 (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
323LineSegment line = new LineSegment(new Point(4.0, 0.0), false); 335LineSegment line = new LineSegment(new Point(8.0, 0.0), false);
PresentationFramework.AeroLite (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
195LineSegment line = new LineSegment(new Point(4.0, 0.0), false); 207LineSegment line = new LineSegment(new Point(8.0, 0.0), false);
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
153LineSegment line = new LineSegment(new Point(5.0, 0.0), false); 165LineSegment line = new LineSegment(new Point(10.0, 0.0), false);
PresentationFramework.Luna (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
176LineSegment line = new LineSegment(new Point(size.Width - 0.5, 0.5), true); 319LineSegment line = new LineSegment(new Point(5.0, 0.0), false); 331LineSegment line = new LineSegment(new Point(10.0, 0.0), false);
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
105LineSegment line = new LineSegment(new Point(size.Width - 0.5, 0.5), true); 241LineSegment line = new LineSegment(new Point(5.0, 0.0), false); 253LineSegment line = new LineSegment(new Point(10.0, 0.0), false);
ReachFramework (10)
AlphaFlattener\Utility.cs (4)
532LineSegment seg = segment as LineSegment; 619figure.Segments[0] is LineSegment) 928else if (typ == typeof(LineSegment))
Serialization\VisualSerializer.cs (6)
1050else if (ps is LineSegment) 1052LineSegment l = ps as LineSegment; 1270else if (ps is LineSegment) 1272LineSegment l = ps as LineSegment;