4 writes to Segments
PresentationCore (3)
System\Windows\Media\PathStreamGeometryContext.cs (3)
81_currentFigure.Segments = _segments; 243_currentFigure.Segments = _segments; 370_currentFigure.Segments = _segments;
PresentationFramework (1)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
282path.Segments = segments;
286 references to Segments
PresentationCore (25)
System\Windows\Media\ArcSegment.cs (3)
61figure.Segments.Add(this); 98figure.Segments.Add(new BezierSegment( 108figure.Segments.Add(new LineSegment(points[0], isStroked, isSmoothJoin));
System\Windows\Media\BezierSegment.cs (2)
54figure.Segments.Add(this); 66figure.Segments.Add(new BezierSegment(pt1, pt2, pt3, IsStroked, IsSmoothJoin));
System\Windows\Media\Generated\PolyBezierSegmentFigureLogic.cs (2)
69figure.Segments.Add(this); 84figure.Segments.Add(new PolyBezierSegment(copy, IsStroked, IsSmoothJoin));
System\Windows\Media\Generated\PolyLineSegmentFigureLogic.cs (2)
69figure.Segments.Add(this); 84figure.Segments.Add(new PolyLineSegment(copy, IsStroked, IsSmoothJoin));
System\Windows\Media\Generated\PolyQuadraticBezierSegmentFigureLogic.cs (2)
69figure.Segments.Add(this); 84figure.Segments.Add(new PolyQuadraticBezierSegment(copy, IsStroked, IsSmoothJoin));
System\Windows\Media\LineSegment.cs (2)
52figure.Segments.Add(this); 58figure.Segments.Add(new LineSegment(pt, IsStroked, IsSmoothJoin));
System\Windows\Media\PathFigure.cs (6)
35PathSegmentCollection mySegments = Segments; 96PathSegmentCollection segments = Segments; 119PathSegmentCollection segments = Segments; 191PathSegmentCollection segments = Segments; 206PathSegmentCollection segments = Segments; 220PathSegmentCollection segments = Segments;
System\Windows\Media\PathGeometry.cs (4)
476figure.Segments.Add(polySeg); 481figure.Segments.Add(new LineSegment(new Point(pPoints[pointIndex].X, pPoints[pointIndex].Y), fStroked, fSmooth)); 507figure.Segments.Add(polySeg); 513figure.Segments.Add(new BezierSegment(
System\Windows\Media\QuadraticBezierSegment.cs (2)
55figure.Segments.Add(this); 64figure.Segments.Add(new QuadraticBezierSegment(pt1, pt2, IsStroked, IsSmoothJoin));
PresentationFramework (20)
MS\Internal\Ink\PenCursorManager.cs (12)
466path.Segments.Add(segment); 470path.Segments.Add(segment); 474path.Segments.Add(segment); 478path.Segments.Add(segment); 492path.Segments.Add(segment); 496path.Segments.Add(segment); 500path.Segments.Add(segment); 504path.Segments.Add(segment); 519path.Segments.Add(segment); 523path.Segments.Add(segment); 527path.Segments.Add(segment); 531path.Segments.Add(segment);
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\Documents\FixedSOMPageConstructor.cs (1)
962PathSegmentCollection pathSegments = pathFigure.Segments;
System\Windows\Markup\KnownTypes.cs (1)
2510case KnownElements.PathFigure: return (o as System.Windows.Media.PathFigure).Segments;
System\Windows\Shapes\Polygon.cs (1)
135pathFigure.Segments.Add(new PolyLineSegment(array, true));
System\Windows\Shapes\Polyline.cs (1)
135pathFigure.Segments.Add(new PolyLineSegment(array, true));
PresentationFramework.Aero (44)
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 (5)
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)); 628borderFigure.Segments.Add(new ArcSegment(new Point(bounds.Right - 0.5, bounds.Bottom - 2.5), new Size(2.0, 2.0), 0.0, false, SweepDirection.Counterclockwise, true)); 629borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true)); 630borderFigure.Segments.Add(new ArcSegment(new Point(bounds.Right - 2.5, bounds.Top + 0.5), new Size(2.0, 2.0), 0.0, false, SweepDirection.Counterclockwise, true));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
335arrowFigure.Segments.Add(line); 339arrowFigure.Segments.Add(line); 347arrowFigure.Segments.Add(line); 351arrowFigure.Segments.Add(line);
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 (44)
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 (5)
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)); 628borderFigure.Segments.Add(new ArcSegment(new Point(bounds.Right - 0.5, bounds.Bottom - 2.5), new Size(2.0, 2.0), 0.0, false, SweepDirection.Counterclockwise, true)); 629borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true)); 630borderFigure.Segments.Add(new ArcSegment(new Point(bounds.Right - 2.5, bounds.Top + 0.5), new Size(2.0, 2.0), 0.0, false, SweepDirection.Counterclockwise, true));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
335arrowFigure.Segments.Add(line); 339arrowFigure.Segments.Add(line); 347arrowFigure.Segments.Add(line); 351arrowFigure.Segments.Add(line);
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)
197arrowFigure.Segments.Add(line); 201arrowFigure.Segments.Add(line); 209arrowFigure.Segments.Add(line); 213arrowFigure.Segments.Add(line);
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 (35)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (17)
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 1085figure.Segments.Add(new ArcSegment(new Point(left + outerRadius, top), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top left rounded corner 1086figure.Segments.Add(new LineSegment(new Point(right - outerRadius, top), true)); //top side 1087figure.Segments.Add(new ArcSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner 1088figure.Segments.Add(new LineSegment(new Point(right - 1.0 - innerRadius * 0.293, top + 1.0 + innerRadius * 0.293), true)); //inner top right corner 1089figure.Segments.Add(new ArcSegment(new Point(right - outerRadius, top + 1.0), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true)); //inner top right rounded corner 1090figure.Segments.Add(new LineSegment(new Point(left + outerRadius, top + 1.0), true)); //inner top side 1091figure.Segments.Add(new ArcSegment(new Point(left + 1.0, top + outerRadius), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true));//inner top left rounder corner 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 1119figure.Segments.Add(new ArcSegment(new Point(right - 1.0 - innerRadius * 0.293, top + 1.0 + innerRadius * 0.293), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true)); //inner left rounded corner 1120figure.Segments.Add(new LineSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), true)); //top right corner 1121figure.Segments.Add(new ArcSegment(new Point(right, top + outerRadius), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner 1122figure.Segments.Add(new LineSegment(new Point(right, bottom), true)); //right side
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
155arrowFigure.Segments.Add(line); 159arrowFigure.Segments.Add(line); 167arrowFigure.Segments.Add(line); 171arrowFigure.Segments.Add(line);
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 (45)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
181tabFigure.Segments.Add(line); 185tabFigure.Segments.Add(arc); 189tabFigure.Segments.Add(line); 193tabFigure.Segments.Add(arc); 328arrowFigure.Segments.Add(line); 332arrowFigure.Segments.Add(line); 340arrowFigure.Segments.Add(line); 344arrowFigure.Segments.Add(line);
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 (45)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
110tabFigure.Segments.Add(line); 114tabFigure.Segments.Add(arc); 118tabFigure.Segments.Add(line); 122tabFigure.Segments.Add(arc); 250arrowFigure.Segments.Add(line); 254arrowFigure.Segments.Add(line); 262arrowFigure.Segments.Add(line); 266arrowFigure.Segments.Add(line);
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));
ReachFramework (10)
AlphaFlattener\Utility.cs (7)
526for (int s = 0; s < figure.Segments.Count; s++) 528PathSegment segment = figure.Segments[s]; 617if (figure.Segments != null && 618figure.Segments.Count == 1 && 619figure.Segments[0] is LineSegment) 906for (int s = 0; s < figure.Segments.Count; s++) 908PathSegment segment = figure.Segments[s];
Serialization\VisualSerializer.cs (3)
1016PathSegmentCollection segments = p.Segments; 1225PathSegmentCollection segments = p.Segments; 1515PathSegmentCollection segments = p.Segments;