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)
282
path.
Segments
= segments;
286 references to Segments
PresentationCore (25)
System\Windows\Media\ArcSegment.cs (3)
61
figure.
Segments
.Add(this);
98
figure.
Segments
.Add(new BezierSegment(
108
figure.
Segments
.Add(new LineSegment(points[0], isStroked, isSmoothJoin));
System\Windows\Media\BezierSegment.cs (2)
54
figure.
Segments
.Add(this);
66
figure.
Segments
.Add(new BezierSegment(pt1, pt2, pt3, IsStroked, IsSmoothJoin));
System\Windows\Media\Generated\PolyBezierSegmentFigureLogic.cs (2)
69
figure.
Segments
.Add(this);
84
figure.
Segments
.Add(new PolyBezierSegment(copy, IsStroked, IsSmoothJoin));
System\Windows\Media\Generated\PolyLineSegmentFigureLogic.cs (2)
69
figure.
Segments
.Add(this);
84
figure.
Segments
.Add(new PolyLineSegment(copy, IsStroked, IsSmoothJoin));
System\Windows\Media\Generated\PolyQuadraticBezierSegmentFigureLogic.cs (2)
69
figure.
Segments
.Add(this);
84
figure.
Segments
.Add(new PolyQuadraticBezierSegment(copy, IsStroked, IsSmoothJoin));
System\Windows\Media\LineSegment.cs (2)
52
figure.
Segments
.Add(this);
58
figure.
Segments
.Add(new LineSegment(pt, IsStroked, IsSmoothJoin));
System\Windows\Media\PathFigure.cs (6)
35
PathSegmentCollection mySegments =
Segments
;
96
PathSegmentCollection segments =
Segments
;
119
PathSegmentCollection segments =
Segments
;
191
PathSegmentCollection segments =
Segments
;
206
PathSegmentCollection segments =
Segments
;
220
PathSegmentCollection segments =
Segments
;
System\Windows\Media\PathGeometry.cs (4)
476
figure.
Segments
.Add(polySeg);
481
figure.
Segments
.Add(new LineSegment(new Point(pPoints[pointIndex].X, pPoints[pointIndex].Y), fStroked, fSmooth));
507
figure.
Segments
.Add(polySeg);
513
figure.
Segments
.Add(new BezierSegment(
System\Windows\Media\QuadraticBezierSegment.cs (2)
55
figure.
Segments
.Add(this);
64
figure.
Segments
.Add(new QuadraticBezierSegment(pt1, pt2, IsStroked, IsSmoothJoin));
PresentationFramework (20)
MS\Internal\Ink\PenCursorManager.cs (12)
466
path.
Segments
.Add(segment);
470
path.
Segments
.Add(segment);
474
path.
Segments
.Add(segment);
478
path.
Segments
.Add(segment);
492
path.
Segments
.Add(segment);
496
path.
Segments
.Add(segment);
500
path.
Segments
.Add(segment);
504
path.
Segments
.Add(segment);
519
path.
Segments
.Add(segment);
523
path.
Segments
.Add(segment);
527
path.
Segments
.Add(segment);
531
path.
Segments
.Add(segment);
System\windows\Documents\CaretElement.cs (2)
724
pathFigure.
Segments
.Add(new LineSegment(new Point(-bidiCaretIndicatorWidth, 0), true));
725
pathFigure.
Segments
.Add(new LineSegment(new Point(0, _height / BidiIndicatorHeightRatio), true));
System\Windows\Documents\CompositionAdorner.cs (2)
285
pathFigure.
Segments
.Add(new LineSegment(pathPoint, true));
290
pathFigure.
Segments
.Add(new LineSegment(pathPoint, true));
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
962
PathSegmentCollection pathSegments = pathFigure.
Segments
;
System\Windows\Markup\KnownTypes.cs (1)
2510
case KnownElements.PathFigure: return (o as System.Windows.Media.PathFigure).
Segments
;
System\Windows\Shapes\Polygon.cs (1)
135
pathFigure.
Segments
.Add(new PolyLineSegment(array, true));
System\Windows\Shapes\Polyline.cs (1)
135
pathFigure.
Segments
.Add(new PolyLineSegment(array, true));
PresentationFramework.Aero (44)
Microsoft\Windows\Themes\BulletChrome.cs (7)
888
figure.
Segments
.Add(new LineSegment(new Point(10.667, 3.167), true));
889
figure.
Segments
.Add(new LineSegment(new Point(7, 10.667), true));
890
figure.
Segments
.Add(new LineSegment(new Point(5.333, 10.667), true));
891
figure.
Segments
.Add(new LineSegment(new Point(3.333, 8.167), true));
892
figure.
Segments
.Add(new LineSegment(new Point(3.333, 6.833), true));
893
figure.
Segments
.Add(new LineSegment(new Point(4.833, 6.5), true));
894
figure.
Segments
.Add(new LineSegment(new Point(6, 8), true));
Microsoft\Windows\Themes\ButtonChrome.cs (5)
626
borderFigure.
Segments
.Add(new LineSegment(new Point(0.5, bounds.Bottom - 0.5), true));
627
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true));
628
borderFigure.
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));
629
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true));
630
borderFigure.
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)
335
arrowFigure.
Segments
.Add(line);
339
arrowFigure.
Segments
.Add(line);
347
arrowFigure.
Segments
.Add(line);
351
arrowFigure.
Segments
.Add(line);
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
480
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Left, bounds.Bottom), false));
481
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Right, bounds.Bottom), false));
482
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Right, bounds.Top), false));
492
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false));
493
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false));
494
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
608
figure.
Segments
.Add(new LineSegment(new Point(0, 3.5), true));
609
figure.
Segments
.Add(new LineSegment(new Point(4.0, 7.0), true));
640
figure.
Segments
.Add(new LineSegment(new Point(4, 3.5), true));
641
figure.
Segments
.Add(new LineSegment(new Point(0.0, 7.0), true));
672
figure.
Segments
.Add(new LineSegment(new Point(3.5, 0), true));
673
figure.
Segments
.Add(new LineSegment(new Point(7.0, 4.0), true));
704
figure.
Segments
.Add(new LineSegment(new Point(3.5, 4.0), true));
705
figure.
Segments
.Add(new LineSegment(new Point(7.0, 0.0), true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
230
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true));
231
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true));
240
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true));
241
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true));
242
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true));
246
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true));
251
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true));
252
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true));
253
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true));
257
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true));
263
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true));
264
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true));
265
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true));
269
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Aero2 (44)
Microsoft\Windows\Themes\BulletChrome.cs (7)
888
figure.
Segments
.Add(new LineSegment(new Point(10.667, 3.167), true));
889
figure.
Segments
.Add(new LineSegment(new Point(7, 10.667), true));
890
figure.
Segments
.Add(new LineSegment(new Point(5.333, 10.667), true));
891
figure.
Segments
.Add(new LineSegment(new Point(3.333, 8.167), true));
892
figure.
Segments
.Add(new LineSegment(new Point(3.333, 6.833), true));
893
figure.
Segments
.Add(new LineSegment(new Point(4.833, 6.5), true));
894
figure.
Segments
.Add(new LineSegment(new Point(6, 8), true));
Microsoft\Windows\Themes\ButtonChrome.cs (5)
626
borderFigure.
Segments
.Add(new LineSegment(new Point(0.5, bounds.Bottom - 0.5), true));
627
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true));
628
borderFigure.
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));
629
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true));
630
borderFigure.
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)
335
arrowFigure.
Segments
.Add(line);
339
arrowFigure.
Segments
.Add(line);
347
arrowFigure.
Segments
.Add(line);
351
arrowFigure.
Segments
.Add(line);
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
480
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Left, bounds.Bottom), false));
481
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Right, bounds.Bottom), false));
482
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Right, bounds.Top), false));
492
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false));
493
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false));
494
borderFigure.
Segments
.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
608
figure.
Segments
.Add(new LineSegment(new Point(0, 3.5), true));
609
figure.
Segments
.Add(new LineSegment(new Point(4.0, 7.0), true));
640
figure.
Segments
.Add(new LineSegment(new Point(4, 3.5), true));
641
figure.
Segments
.Add(new LineSegment(new Point(0.0, 7.0), true));
672
figure.
Segments
.Add(new LineSegment(new Point(3.5, 0), true));
673
figure.
Segments
.Add(new LineSegment(new Point(7.0, 4.0), true));
704
figure.
Segments
.Add(new LineSegment(new Point(3.5, 4.0), true));
705
figure.
Segments
.Add(new LineSegment(new Point(7.0, 0.0), true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
230
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true));
231
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true));
240
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true));
241
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true));
242
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true));
246
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true));
251
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true));
252
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true));
253
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true));
257
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true));
263
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true));
264
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true));
265
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true));
269
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.AeroLite (18)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
197
arrowFigure.
Segments
.Add(line);
201
arrowFigure.
Segments
.Add(line);
209
arrowFigure.
Segments
.Add(line);
213
arrowFigure.
Segments
.Add(line);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
230
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true));
231
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true));
240
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true));
241
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true));
242
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true));
246
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true));
251
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true));
252
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true));
253
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true));
257
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true));
263
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true));
264
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true));
265
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true));
269
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Classic (35)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (17)
878
figure.
Segments
.Add(new LineSegment(rect.TopRight, true));
879
figure.
Segments
.Add(new LineSegment(rect.BottomRight, true));
880
figure.
Segments
.Add(new LineSegment(rect.BottomLeft, true));
1084
figure.
Segments
.Add(new LineSegment(new Point(left, top + outerRadius), true)); //left side
1085
figure.
Segments
.Add(new ArcSegment(new Point(left + outerRadius, top), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top left rounded corner
1086
figure.
Segments
.Add(new LineSegment(new Point(right - outerRadius, top), true)); //top side
1087
figure.
Segments
.Add(new ArcSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner
1088
figure.
Segments
.Add(new LineSegment(new Point(right - 1.0 - innerRadius * 0.293, top + 1.0 + innerRadius * 0.293), true)); //inner top right corner
1089
figure.
Segments
.Add(new ArcSegment(new Point(right - outerRadius, top + 1.0), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true)); //inner top right rounded corner
1090
figure.
Segments
.Add(new LineSegment(new Point(left + outerRadius, top + 1.0), true)); //inner top side
1091
figure.
Segments
.Add(new ArcSegment(new Point(left + 1.0, top + outerRadius), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true));//inner top left rounder corner
1092
figure.
Segments
.Add(new LineSegment(new Point(left + 1.0, bottom), true)); //inner right side
1118
figure.
Segments
.Add(new LineSegment(new Point(right - 1.0, top + outerRadius), true)); //left side
1119
figure.
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
1120
figure.
Segments
.Add(new LineSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), true)); //top right corner
1121
figure.
Segments
.Add(new ArcSegment(new Point(right, top + outerRadius), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner
1122
figure.
Segments
.Add(new LineSegment(new Point(right, bottom), true)); //right side
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
155
arrowFigure.
Segments
.Add(line);
159
arrowFigure.
Segments
.Add(line);
167
arrowFigure.
Segments
.Add(line);
171
arrowFigure.
Segments
.Add(line);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
230
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true));
231
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true));
240
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true));
241
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true));
242
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true));
246
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true));
251
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true));
252
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true));
253
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true));
257
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true));
263
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true));
264
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true));
265
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true));
269
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Luna (45)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
181
tabFigure.
Segments
.Add(line);
185
tabFigure.
Segments
.Add(arc);
189
tabFigure.
Segments
.Add(line);
193
tabFigure.
Segments
.Add(arc);
328
arrowFigure.
Segments
.Add(line);
332
arrowFigure.
Segments
.Add(line);
340
arrowFigure.
Segments
.Add(line);
344
arrowFigure.
Segments
.Add(line);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
441
figure.
Segments
.Add(new LineSegment(new Point(0.0, 4.5), true));
442
figure.
Segments
.Add(new LineSegment(new Point(4.5, 9.0), true));
443
figure.
Segments
.Add(new LineSegment(new Point(6.0, 7.5), true));
444
figure.
Segments
.Add(new LineSegment(new Point(3.0, 4.5), true));
445
figure.
Segments
.Add(new LineSegment(new Point(6.0, 1.5), true));
476
figure.
Segments
.Add(new LineSegment(new Point(8.0, 4.5), true));
477
figure.
Segments
.Add(new LineSegment(new Point(3.5, 9.0), true));
478
figure.
Segments
.Add(new LineSegment(new Point(2.0, 7.5), true));
479
figure.
Segments
.Add(new LineSegment(new Point(5.0, 4.5), true));
480
figure.
Segments
.Add(new LineSegment(new Point(2.0, 1.5), true));
511
figure.
Segments
.Add(new LineSegment(new Point(4.5, 0.0), true));
512
figure.
Segments
.Add(new LineSegment(new Point(9.0, 4.5), true));
513
figure.
Segments
.Add(new LineSegment(new Point(7.5, 6.0), true));
514
figure.
Segments
.Add(new LineSegment(new Point(4.5, 3.0), true));
515
figure.
Segments
.Add(new LineSegment(new Point(1.5, 6.0), true));
546
figure.
Segments
.Add(new LineSegment(new Point(4.5, 8.0), true));
547
figure.
Segments
.Add(new LineSegment(new Point(9.0, 3.5), true));
548
figure.
Segments
.Add(new LineSegment(new Point(7.5, 2.0), true));
549
figure.
Segments
.Add(new LineSegment(new Point(4.5, 5.0), true));
550
figure.
Segments
.Add(new LineSegment(new Point(1.5, 2.0), true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
466
figure.
Segments
.Add(new LineSegment(rect.TopRight, true));
467
figure.
Segments
.Add(new LineSegment(rect.BottomRight, true));
468
figure.
Segments
.Add(new LineSegment(rect.BottomLeft, true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
230
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true));
231
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true));
240
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true));
241
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true));
242
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true));
246
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true));
251
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true));
252
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true));
253
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true));
257
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true));
263
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true));
264
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true));
265
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true));
269
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Royale (45)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
110
tabFigure.
Segments
.Add(line);
114
tabFigure.
Segments
.Add(arc);
118
tabFigure.
Segments
.Add(line);
122
tabFigure.
Segments
.Add(arc);
250
arrowFigure.
Segments
.Add(line);
254
arrowFigure.
Segments
.Add(line);
262
arrowFigure.
Segments
.Add(line);
266
arrowFigure.
Segments
.Add(line);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
401
figure.
Segments
.Add(new LineSegment(new Point(0.0, 4.5), true));
402
figure.
Segments
.Add(new LineSegment(new Point(4.5, 9.0), true));
403
figure.
Segments
.Add(new LineSegment(new Point(6.0, 7.5), true));
404
figure.
Segments
.Add(new LineSegment(new Point(3.0, 4.5), true));
405
figure.
Segments
.Add(new LineSegment(new Point(6.0, 1.5), true));
436
figure.
Segments
.Add(new LineSegment(new Point(8.0, 4.5), true));
437
figure.
Segments
.Add(new LineSegment(new Point(3.5, 9.0), true));
438
figure.
Segments
.Add(new LineSegment(new Point(2.0, 7.5), true));
439
figure.
Segments
.Add(new LineSegment(new Point(5.0, 4.5), true));
440
figure.
Segments
.Add(new LineSegment(new Point(2.0, 1.5), true));
471
figure.
Segments
.Add(new LineSegment(new Point(4.5, 0.0), true));
472
figure.
Segments
.Add(new LineSegment(new Point(9.0, 4.5), true));
473
figure.
Segments
.Add(new LineSegment(new Point(7.5, 6.0), true));
474
figure.
Segments
.Add(new LineSegment(new Point(4.5, 3.0), true));
475
figure.
Segments
.Add(new LineSegment(new Point(1.5, 6.0), true));
506
figure.
Segments
.Add(new LineSegment(new Point(4.5, 8.0), true));
507
figure.
Segments
.Add(new LineSegment(new Point(9.0, 3.5), true));
508
figure.
Segments
.Add(new LineSegment(new Point(7.5, 2.0), true));
509
figure.
Segments
.Add(new LineSegment(new Point(4.5, 5.0), true));
510
figure.
Segments
.Add(new LineSegment(new Point(1.5, 2.0), true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
466
figure.
Segments
.Add(new LineSegment(rect.TopRight, true));
467
figure.
Segments
.Add(new LineSegment(rect.BottomRight, true));
468
figure.
Segments
.Add(new LineSegment(rect.BottomLeft, true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
230
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true));
231
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true));
240
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true));
241
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true));
242
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true));
246
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true));
251
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true));
252
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true));
253
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true));
257
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true));
263
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true));
264
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true));
265
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true));
269
figure.
Segments
.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
ReachFramework (10)
AlphaFlattener\Utility.cs (7)
526
for (int s = 0; s < figure.
Segments
.Count; s++)
528
PathSegment segment = figure.
Segments
[s];
617
if (figure.
Segments
!= null &&
618
figure.
Segments
.Count == 1 &&
619
figure.
Segments
[0] is LineSegment)
906
for (int s = 0; s < figure.
Segments
.Count; s++)
908
PathSegment segment = figure.
Segments
[s];
Serialization\VisualSerializer.cs (3)
1016
PathSegmentCollection segments = p.
Segments
;
1225
PathSegmentCollection segments = p.
Segments
;
1515
PathSegmentCollection segments = p.
Segments
;