4 writes to Segments
PresentationCore (3)
System\Windows\Media\PathStreamGeometryContext.cs (3)
98_currentFigure.Segments = _segments; 260_currentFigure.Segments = _segments; 386_currentFigure.Segments = _segments;
PresentationFramework (1)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
283path.Segments = segments;
286 references to Segments
PresentationCore (25)
System\Windows\Media\ArcSegment.cs (3)
77figure.Segments.Add(this); 114figure.Segments.Add(new BezierSegment( 124figure.Segments.Add(new LineSegment(points[0], isStroked, isSmoothJoin));
System\Windows\Media\BezierSegment.cs (2)
73figure.Segments.Add(this); 85figure.Segments.Add(new BezierSegment(pt1, pt2, pt3, IsStroked, IsSmoothJoin));
System\Windows\Media\Generated\PolyBezierSegmentFigureLogic.cs (2)
84figure.Segments.Add(this); 99figure.Segments.Add(new PolyBezierSegment(copy, IsStroked, IsSmoothJoin));
System\Windows\Media\Generated\PolyLineSegmentFigureLogic.cs (2)
84figure.Segments.Add(this); 99figure.Segments.Add(new PolyLineSegment(copy, IsStroked, IsSmoothJoin));
System\Windows\Media\Generated\PolyQuadraticBezierSegmentFigureLogic.cs (2)
84figure.Segments.Add(this); 99figure.Segments.Add(new PolyQuadraticBezierSegment(copy, IsStroked, IsSmoothJoin));
System\Windows\Media\LineSegment.cs (2)
71figure.Segments.Add(this); 77figure.Segments.Add(new LineSegment(pt, IsStroked, IsSmoothJoin));
System\Windows\Media\PathFigure.cs (6)
54PathSegmentCollection mySegments = Segments; 115PathSegmentCollection segments = Segments; 138PathSegmentCollection segments = Segments; 210PathSegmentCollection segments = Segments; 225PathSegmentCollection segments = Segments; 239PathSegmentCollection segments = Segments;
System\Windows\Media\PathGeometry.cs (4)
499figure.Segments.Add(polySeg); 504figure.Segments.Add(new LineSegment(new Point(pPoints[pointIndex].X, pPoints[pointIndex].Y), fStroked, fSmooth)); 530figure.Segments.Add(polySeg); 536figure.Segments.Add(new BezierSegment(
System\Windows\Media\QuadraticBezierSegment.cs (2)
74figure.Segments.Add(this); 83figure.Segments.Add(new QuadraticBezierSegment(pt1, pt2, IsStroked, IsSmoothJoin));
PresentationFramework (20)
MS\Internal\Ink\PenCursorManager.cs (12)
465path.Segments.Add(segment); 469path.Segments.Add(segment); 473path.Segments.Add(segment); 477path.Segments.Add(segment); 489path.Segments.Add(segment); 493path.Segments.Add(segment); 497path.Segments.Add(segment); 501path.Segments.Add(segment); 514path.Segments.Add(segment); 518path.Segments.Add(segment); 522path.Segments.Add(segment); 526path.Segments.Add(segment);
System\windows\Documents\CaretElement.cs (2)
726pathFigure.Segments.Add(new LineSegment(new Point(-bidiCaretIndicatorWidth, 0), true)); 727pathFigure.Segments.Add(new LineSegment(new Point(0, _height / BidiIndicatorHeightRatio), true));
System\Windows\Documents\CompositionAdorner.cs (2)
286pathFigure.Segments.Add(new LineSegment(pathPoint, true)); 291pathFigure.Segments.Add(new LineSegment(pathPoint, true));
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
965PathSegmentCollection pathSegments = pathFigure.Segments;
System\Windows\Markup\KnownTypes.cs (1)
2516case KnownElements.PathFigure: return (o as System.Windows.Media.PathFigure).Segments;
System\Windows\Shapes\Polygon.cs (1)
142pathFigure.Segments.Add(new PolyLineSegment(array, true));
System\Windows\Shapes\Polyline.cs (1)
142pathFigure.Segments.Add(new PolyLineSegment(array, true));
PresentationFramework.Aero (44)
Microsoft\Windows\Themes\BulletChrome.cs (7)
878figure.Segments.Add(new LineSegment(new Point(10.667, 3.167), true)); 879figure.Segments.Add(new LineSegment(new Point(7, 10.667), true)); 880figure.Segments.Add(new LineSegment(new Point(5.333, 10.667), true)); 881figure.Segments.Add(new LineSegment(new Point(3.333, 8.167), true)); 882figure.Segments.Add(new LineSegment(new Point(3.333, 6.833), true)); 883figure.Segments.Add(new LineSegment(new Point(4.833, 6.5), true)); 884figure.Segments.Add(new LineSegment(new Point(6, 8), true));
Microsoft\Windows\Themes\ButtonChrome.cs (5)
623borderFigure.Segments.Add(new LineSegment(new Point(0.5, bounds.Bottom - 0.5), true)); 624borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true)); 625borderFigure.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)); 626borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true)); 627borderFigure.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)
328arrowFigure.Segments.Add(line); 332arrowFigure.Segments.Add(line); 340arrowFigure.Segments.Add(line); 344arrowFigure.Segments.Add(line);
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
483borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left, bounds.Bottom), false)); 484borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Bottom), false)); 485borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Top), false)); 494borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false)); 495borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false)); 496borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
603figure.Segments.Add(new LineSegment(new Point(0, 3.5), true)); 604figure.Segments.Add(new LineSegment(new Point(4.0, 7.0), true)); 633figure.Segments.Add(new LineSegment(new Point(4, 3.5), true)); 634figure.Segments.Add(new LineSegment(new Point(0.0, 7.0), true)); 663figure.Segments.Add(new LineSegment(new Point(3.5, 0), true)); 664figure.Segments.Add(new LineSegment(new Point(7.0, 4.0), true)); 693figure.Segments.Add(new LineSegment(new Point(3.5, 4.0), true)); 694figure.Segments.Add(new LineSegment(new Point(7.0, 0.0), true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
234figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 235figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 244figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 245figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 246figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 256figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 257figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 267figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 268figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 269figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 273figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Aero2 (44)
Microsoft\Windows\Themes\BulletChrome.cs (7)
878figure.Segments.Add(new LineSegment(new Point(10.667, 3.167), true)); 879figure.Segments.Add(new LineSegment(new Point(7, 10.667), true)); 880figure.Segments.Add(new LineSegment(new Point(5.333, 10.667), true)); 881figure.Segments.Add(new LineSegment(new Point(3.333, 8.167), true)); 882figure.Segments.Add(new LineSegment(new Point(3.333, 6.833), true)); 883figure.Segments.Add(new LineSegment(new Point(4.833, 6.5), true)); 884figure.Segments.Add(new LineSegment(new Point(6, 8), true));
Microsoft\Windows\Themes\ButtonChrome.cs (5)
623borderFigure.Segments.Add(new LineSegment(new Point(0.5, bounds.Bottom - 0.5), true)); 624borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true)); 625borderFigure.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)); 626borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true)); 627borderFigure.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)
328arrowFigure.Segments.Add(line); 332arrowFigure.Segments.Add(line); 340arrowFigure.Segments.Add(line); 344arrowFigure.Segments.Add(line);
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
483borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left, bounds.Bottom), false)); 484borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Bottom), false)); 485borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Top), false)); 494borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false)); 495borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false)); 496borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
603figure.Segments.Add(new LineSegment(new Point(0, 3.5), true)); 604figure.Segments.Add(new LineSegment(new Point(4.0, 7.0), true)); 633figure.Segments.Add(new LineSegment(new Point(4, 3.5), true)); 634figure.Segments.Add(new LineSegment(new Point(0.0, 7.0), true)); 663figure.Segments.Add(new LineSegment(new Point(3.5, 0), true)); 664figure.Segments.Add(new LineSegment(new Point(7.0, 4.0), true)); 693figure.Segments.Add(new LineSegment(new Point(3.5, 4.0), true)); 694figure.Segments.Add(new LineSegment(new Point(7.0, 0.0), true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
234figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 235figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 244figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 245figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 246figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 256figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 257figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 267figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 268figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 269figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 273figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.AeroLite (18)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
200arrowFigure.Segments.Add(line); 204arrowFigure.Segments.Add(line); 212arrowFigure.Segments.Add(line); 216arrowFigure.Segments.Add(line);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
234figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 235figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 244figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 245figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 246figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 256figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 257figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 267figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 268figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 269figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 273figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Classic (35)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (17)
877figure.Segments.Add(new LineSegment(rect.TopRight, true)); 878figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 879figure.Segments.Add(new LineSegment(rect.BottomLeft, true)); 1081figure.Segments.Add(new LineSegment(new Point(left, top + outerRadius), true)); //left side 1082figure.Segments.Add(new ArcSegment(new Point(left + outerRadius, top), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top left rounded corner 1083figure.Segments.Add(new LineSegment(new Point(right - outerRadius, top), true)); //top side 1084figure.Segments.Add(new ArcSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner 1085figure.Segments.Add(new LineSegment(new Point(right - 1.0 - innerRadius * 0.293, top + 1.0 + innerRadius * 0.293), true)); //inner top right corner 1086figure.Segments.Add(new ArcSegment(new Point(right - outerRadius, top + 1.0), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true)); //inner top right rounded corner 1087figure.Segments.Add(new LineSegment(new Point(left + outerRadius, top + 1.0), true)); //inner top side 1088figure.Segments.Add(new ArcSegment(new Point(left + 1.0, top + outerRadius), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true));//inner top left rounder corner 1089figure.Segments.Add(new LineSegment(new Point(left + 1.0, bottom), true)); //inner right side 1113figure.Segments.Add(new LineSegment(new Point(right - 1.0, top + outerRadius), true)); //left side 1114figure.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 1115figure.Segments.Add(new LineSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), true)); //top right corner 1116figure.Segments.Add(new ArcSegment(new Point(right, top + outerRadius), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner 1117figure.Segments.Add(new LineSegment(new Point(right, bottom), true)); //right side
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
159arrowFigure.Segments.Add(line); 163arrowFigure.Segments.Add(line); 171arrowFigure.Segments.Add(line); 175arrowFigure.Segments.Add(line);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
234figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 235figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 244figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 245figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 246figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 256figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 257figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 267figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 268figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 269figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 273figure.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); 324arrowFigure.Segments.Add(line); 328arrowFigure.Segments.Add(line); 336arrowFigure.Segments.Add(line); 340arrowFigure.Segments.Add(line);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
443figure.Segments.Add(new LineSegment(new Point(0.0, 4.5), true)); 444figure.Segments.Add(new LineSegment(new Point(4.5, 9.0), true)); 445figure.Segments.Add(new LineSegment(new Point(6.0, 7.5), true)); 446figure.Segments.Add(new LineSegment(new Point(3.0, 4.5), true)); 447figure.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)); 509figure.Segments.Add(new LineSegment(new Point(4.5, 0.0), true)); 510figure.Segments.Add(new LineSegment(new Point(9.0, 4.5), true)); 511figure.Segments.Add(new LineSegment(new Point(7.5, 6.0), true)); 512figure.Segments.Add(new LineSegment(new Point(4.5, 3.0), true)); 513figure.Segments.Add(new LineSegment(new Point(1.5, 6.0), true)); 542figure.Segments.Add(new LineSegment(new Point(4.5, 8.0), true)); 543figure.Segments.Add(new LineSegment(new Point(9.0, 3.5), true)); 544figure.Segments.Add(new LineSegment(new Point(7.5, 2.0), true)); 545figure.Segments.Add(new LineSegment(new Point(4.5, 5.0), true)); 546figure.Segments.Add(new LineSegment(new Point(1.5, 2.0), true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
468figure.Segments.Add(new LineSegment(rect.TopRight, true)); 469figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 470figure.Segments.Add(new LineSegment(rect.BottomLeft, true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
234figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 235figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 244figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 245figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 246figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 256figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 257figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 267figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 268figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 269figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 273figure.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); 246arrowFigure.Segments.Add(line); 250arrowFigure.Segments.Add(line); 258arrowFigure.Segments.Add(line); 262arrowFigure.Segments.Add(line);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
403figure.Segments.Add(new LineSegment(new Point(0.0, 4.5), true)); 404figure.Segments.Add(new LineSegment(new Point(4.5, 9.0), true)); 405figure.Segments.Add(new LineSegment(new Point(6.0, 7.5), true)); 406figure.Segments.Add(new LineSegment(new Point(3.0, 4.5), true)); 407figure.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)); 469figure.Segments.Add(new LineSegment(new Point(4.5, 0.0), true)); 470figure.Segments.Add(new LineSegment(new Point(9.0, 4.5), true)); 471figure.Segments.Add(new LineSegment(new Point(7.5, 6.0), true)); 472figure.Segments.Add(new LineSegment(new Point(4.5, 3.0), true)); 473figure.Segments.Add(new LineSegment(new Point(1.5, 6.0), true)); 502figure.Segments.Add(new LineSegment(new Point(4.5, 8.0), true)); 503figure.Segments.Add(new LineSegment(new Point(9.0, 3.5), true)); 504figure.Segments.Add(new LineSegment(new Point(7.5, 2.0), true)); 505figure.Segments.Add(new LineSegment(new Point(4.5, 5.0), true)); 506figure.Segments.Add(new LineSegment(new Point(1.5, 2.0), true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
468figure.Segments.Add(new LineSegment(rect.TopRight, true)); 469figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 470figure.Segments.Add(new LineSegment(rect.BottomLeft, true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
234figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 235figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 244figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 245figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 246figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 256figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 257figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 267figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 268figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 269figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 273figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
ReachFramework (10)
AlphaFlattener\Utility.cs (7)
537for (int s = 0; s < figure.Segments.Count; s++) 539PathSegment segment = figure.Segments[s]; 628if (figure.Segments != null && 629figure.Segments.Count == 1 && 630figure.Segments[0] is LineSegment) 917for (int s = 0; s < figure.Segments.Count; s++) 919PathSegment segment = figure.Segments[s];
Serialization\VisualSerializer.cs (3)
1023PathSegmentCollection segments = p.Segments; 1232PathSegmentCollection segments = p.Segments; 1522PathSegmentCollection segments = p.Segments;