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)
481figure.Segments.Add(new LineSegment(new Point(pPoints[pointIndex].X, pPoints[pointIndex].Y), fStroked, fSmooth));
System\Windows\Media\PathStreamGeometryContext.cs (1)
380LineSegment 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)
265PathSegment line = new LineSegment(new Point(hatchRect.Right, hatchRect.Top), true); 269line = new LineSegment(new Point(hatchRect.Right, hatchRect.Bottom), true); 273line = new LineSegment(new Point(hatchRect.Left, hatchRect.Bottom), true); 277line = new LineSegment(new Point(hatchRect.Left, hatchRect.Top), true);
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),
System\windows\Documents\CaretElement.cs (2)
724pathFigure.Segments.Add(new LineSegment(new Point(-bidiCaretIndicatorWidth, 0), true)); 725pathFigure.Segments.Add(new LineSegment(new Point(0, _height / BidiIndicatorHeightRatio), true));
System\Windows\Documents\CompositionAdorner.cs (2)
285pathFigure.Segments.Add(new LineSegment(pathPoint, true)); 290pathFigure.Segments.Add(new LineSegment(pathPoint, true));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6770DefaultConstructor = delegate () { return new System.Windows.Media.LineSegment(); }
System\Windows\Markup\KnownTypes.cs (1)
1362case KnownElements.LineSegment: o = new System.Windows.Media.LineSegment(); break;
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\ButtonChrome.cs (3)
626borderFigure.Segments.Add(new LineSegment(new Point(0.5, bounds.Bottom - 0.5), true)); 627borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true)); 629borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
333LineSegment line = new LineSegment(new Point(4.0, 0.0), false); 337line = new LineSegment(new Point(8.0, 4.0), false); 345LineSegment line = new LineSegment(new Point(8.0, 0.0), false); 349line = new LineSegment(new Point(4.0, 4.0), false);
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\ButtonChrome.cs (3)
626borderFigure.Segments.Add(new LineSegment(new Point(0.5, bounds.Bottom - 0.5), true)); 627borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true)); 629borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
333LineSegment line = new LineSegment(new Point(4.0, 0.0), false); 337line = new LineSegment(new Point(8.0, 4.0), false); 345LineSegment line = new LineSegment(new Point(8.0, 0.0), false); 349line = new LineSegment(new Point(4.0, 4.0), false);
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)
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)
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
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)
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\BulletChrome.cs (3)
466figure.Segments.Add(new LineSegment(rect.TopRight, true)); 467figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 468figure.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)
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\BulletChrome.cs (3)
466figure.Segments.Add(new LineSegment(rect.TopRight, true)); 467figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 468figure.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)
380LineSegment lSegment = new LineSegment
PresentationFramework (6)
MS\Internal\Ink\PenCursorManager.cs (1)
464LineSegment segment = new LineSegment(new Point(16, 5), true);
System\Windows\Documents\FixedSOMPageConstructor.cs (2)
976else if (pathSegment is LineSegment) 978Point 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)
6767typeof(System.Windows.Media.LineSegment),
System\Windows\Markup\KnownTypes.cs (1)
5901case KnownElements.LineSegment: t = typeof(System.Windows.Media.LineSegment); break;
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
333LineSegment line = new LineSegment(new Point(4.0, 0.0), false); 345LineSegment line = new LineSegment(new Point(8.0, 0.0), false);
PresentationFramework.Aero2 (2)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
333LineSegment line = new LineSegment(new Point(4.0, 0.0), false); 345LineSegment 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)
179LineSegment line = new LineSegment(new Point(size.Width - 0.5, 0.5), true); 326LineSegment line = new LineSegment(new Point(5.0, 0.0), false); 338LineSegment line = new LineSegment(new Point(10.0, 0.0), false);
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
108LineSegment line = new LineSegment(new Point(size.Width - 0.5, 0.5), true); 248LineSegment line = new LineSegment(new Point(5.0, 0.0), false); 260LineSegment 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)
1051else if (ps is LineSegment) 1053LineSegment l = ps as LineSegment; 1271else if (ps is LineSegment) 1273LineSegment l = ps as LineSegment;