246 references to LineSegment
PresentationCore (1)
System\Windows\Media\LineGeometry.cs (1)
220
new PathSegment[]{new
LineSegment
(endPoint, true)},
PresentationFramework (28)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
259
PathSegment line = new
LineSegment
(new Point(hatchRect.Right, hatchRect.Top), true);
263
line = new
LineSegment
(new Point(hatchRect.Right, hatchRect.Bottom), true);
267
line = new
LineSegment
(new Point(hatchRect.Left, hatchRect.Bottom), true);
271
line = new
LineSegment
(new Point(hatchRect.Left, hatchRect.Top), true);
MS\Internal\Ink\PenCursorManager.cs (12)
458
LineSegment segment = new
LineSegment
(new Point(16, 5), true);
462
segment = new
LineSegment
(new Point(26, 15), true);
466
segment = new
LineSegment
(new Point(15, 15), true);
470
segment = new
LineSegment
(new Point(5, 5), true);
482
segment = new
LineSegment
(new Point(5, 10), true);
486
segment = new
LineSegment
(new Point(15, 19), true);
490
segment = new
LineSegment
(new Point(15, 15), true);
494
segment = new
LineSegment
(new Point(5, 5), true);
507
segment = new
LineSegment
(new Point(15, 19), true);
511
segment = new
LineSegment
(new Point(26, 19), true);
515
segment = new
LineSegment
(new Point(26, 15), true);
519
segment = new
LineSegment
(new Point(15, 15), true);
System\Windows\Controls\Primitives\TickBar.cs (8)
524
new
LineSegment
(pt2, true),
525
new
LineSegment
(pt0, true),
537
new
LineSegment
(pt2, true),
538
new
LineSegment
(pt0, true),
629
new
LineSegment
(pt2, true),
630
new
LineSegment
(pt0, true),
642
new
LineSegment
(pt2, true),
643
new
LineSegment
(pt0, true),
System\windows\Documents\CaretElement.cs (2)
723
pathFigure.Segments.Add(new
LineSegment
(new Point(-bidiCaretIndicatorWidth, 0), true));
724
pathFigure.Segments.Add(new
LineSegment
(new Point(0, _height / BidiIndicatorHeightRatio), true));
System\Windows\Documents\CompositionAdorner.cs (2)
283
pathFigure.Segments.Add(new
LineSegment
(pathPoint, true));
288
pathFigure.Segments.Add(new
LineSegment
(pathPoint, true));
PresentationFramework.Aero (42)
Microsoft\Windows\Themes\BulletChrome.cs (7)
872
figure.Segments.Add(new
LineSegment
(new Point(10.667, 3.167), true));
873
figure.Segments.Add(new
LineSegment
(new Point(7, 10.667), true));
874
figure.Segments.Add(new
LineSegment
(new Point(5.333, 10.667), true));
875
figure.Segments.Add(new
LineSegment
(new Point(3.333, 8.167), true));
876
figure.Segments.Add(new
LineSegment
(new Point(3.333, 6.833), true));
877
figure.Segments.Add(new
LineSegment
(new Point(4.833, 6.5), true));
878
figure.Segments.Add(new
LineSegment
(new Point(6, 8), true));
Microsoft\Windows\Themes\ButtonChrome.cs (3)
614
borderFigure.Segments.Add(new
LineSegment
(new Point(0.5, bounds.Bottom - 0.5), true));
615
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true));
617
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
323
LineSegment line = new
LineSegment
(new Point(4.0, 0.0), false);
327
line = new
LineSegment
(new Point(8.0, 4.0), false);
335
LineSegment line = new
LineSegment
(new Point(8.0, 0.0), false);
339
line = new
LineSegment
(new Point(4.0, 4.0), false);
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
477
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Left, bounds.Bottom), false));
478
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right, bounds.Bottom), false));
479
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right, bounds.Top), false));
488
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false));
489
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false));
490
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
598
figure.Segments.Add(new
LineSegment
(new Point(0, 3.5), true));
599
figure.Segments.Add(new
LineSegment
(new Point(4.0, 7.0), true));
628
figure.Segments.Add(new
LineSegment
(new Point(4, 3.5), true));
629
figure.Segments.Add(new
LineSegment
(new Point(0.0, 7.0), true));
658
figure.Segments.Add(new
LineSegment
(new Point(3.5, 0), true));
659
figure.Segments.Add(new
LineSegment
(new Point(7.0, 4.0), true));
688
figure.Segments.Add(new
LineSegment
(new Point(3.5, 4.0), true));
689
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 (42)
Microsoft\Windows\Themes\BulletChrome.cs (7)
872
figure.Segments.Add(new
LineSegment
(new Point(10.667, 3.167), true));
873
figure.Segments.Add(new
LineSegment
(new Point(7, 10.667), true));
874
figure.Segments.Add(new
LineSegment
(new Point(5.333, 10.667), true));
875
figure.Segments.Add(new
LineSegment
(new Point(3.333, 8.167), true));
876
figure.Segments.Add(new
LineSegment
(new Point(3.333, 6.833), true));
877
figure.Segments.Add(new
LineSegment
(new Point(4.833, 6.5), true));
878
figure.Segments.Add(new
LineSegment
(new Point(6, 8), true));
Microsoft\Windows\Themes\ButtonChrome.cs (3)
614
borderFigure.Segments.Add(new
LineSegment
(new Point(0.5, bounds.Bottom - 0.5), true));
615
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true));
617
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
323
LineSegment line = new
LineSegment
(new Point(4.0, 0.0), false);
327
line = new
LineSegment
(new Point(8.0, 4.0), false);
335
LineSegment line = new
LineSegment
(new Point(8.0, 0.0), false);
339
line = new
LineSegment
(new Point(4.0, 4.0), false);
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
477
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Left, bounds.Bottom), false));
478
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right, bounds.Bottom), false));
479
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right, bounds.Top), false));
488
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false));
489
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false));
490
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
598
figure.Segments.Add(new
LineSegment
(new Point(0, 3.5), true));
599
figure.Segments.Add(new
LineSegment
(new Point(4.0, 7.0), true));
628
figure.Segments.Add(new
LineSegment
(new Point(4, 3.5), true));
629
figure.Segments.Add(new
LineSegment
(new Point(0.0, 7.0), true));
658
figure.Segments.Add(new
LineSegment
(new Point(3.5, 0), true));
659
figure.Segments.Add(new
LineSegment
(new Point(7.0, 4.0), true));
688
figure.Segments.Add(new
LineSegment
(new Point(3.5, 4.0), true));
689
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)
195
LineSegment line = new
LineSegment
(new Point(4.0, 0.0), false);
199
line = new
LineSegment
(new Point(8.0, 4.0), false);
207
LineSegment line = new
LineSegment
(new Point(8.0, 0.0), false);
211
line = new
LineSegment
(new Point(4.0, 4.0), false);
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 (29)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (11)
874
figure.Segments.Add(new
LineSegment
(rect.TopRight, true));
875
figure.Segments.Add(new
LineSegment
(rect.BottomRight, true));
876
figure.Segments.Add(new
LineSegment
(rect.BottomLeft, true));
1078
figure.Segments.Add(new
LineSegment
(new Point(left, top + outerRadius), true)); //left side
1080
figure.Segments.Add(new
LineSegment
(new Point(right - outerRadius, top), true)); //top side
1082
figure.Segments.Add(new
LineSegment
(new Point(right - 1.0 - innerRadius * 0.293, top + 1.0 + innerRadius * 0.293), true)); //inner top right corner
1084
figure.Segments.Add(new
LineSegment
(new Point(left + outerRadius, top + 1.0), true)); //inner top side
1086
figure.Segments.Add(new
LineSegment
(new Point(left + 1.0, bottom), true)); //inner right side
1110
figure.Segments.Add(new
LineSegment
(new Point(right - 1.0, top + outerRadius), true)); //left side
1112
figure.Segments.Add(new
LineSegment
(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), true)); //top right corner
1114
figure.Segments.Add(new
LineSegment
(new Point(right, bottom), true)); //right side
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
153
LineSegment line = new
LineSegment
(new Point(5.0, 0.0), false);
157
line = new
LineSegment
(new Point(10.0, 5.0), false);
165
LineSegment line = new
LineSegment
(new Point(10.0, 0.0), false);
169
line = new
LineSegment
(new Point(5.0, 5.0), false);
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 (43)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
176
LineSegment line = new
LineSegment
(new Point(size.Width - 0.5, 0.5), true);
184
line = new
LineSegment
(new Point(2.5, 2.5), true);
319
LineSegment line = new
LineSegment
(new Point(5.0, 0.0), false);
323
line = new
LineSegment
(new Point(10.0, 5.0), false);
331
LineSegment line = new
LineSegment
(new Point(10.0, 0.0), false);
335
line = new
LineSegment
(new Point(5.0, 5.0), false);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
439
figure.Segments.Add(new
LineSegment
(new Point(0.0, 4.5), true));
440
figure.Segments.Add(new
LineSegment
(new Point(4.5, 9.0), true));
441
figure.Segments.Add(new
LineSegment
(new Point(6.0, 7.5), true));
442
figure.Segments.Add(new
LineSegment
(new Point(3.0, 4.5), true));
443
figure.Segments.Add(new
LineSegment
(new Point(6.0, 1.5), true));
472
figure.Segments.Add(new
LineSegment
(new Point(8.0, 4.5), true));
473
figure.Segments.Add(new
LineSegment
(new Point(3.5, 9.0), true));
474
figure.Segments.Add(new
LineSegment
(new Point(2.0, 7.5), true));
475
figure.Segments.Add(new
LineSegment
(new Point(5.0, 4.5), true));
476
figure.Segments.Add(new
LineSegment
(new Point(2.0, 1.5), true));
505
figure.Segments.Add(new
LineSegment
(new Point(4.5, 0.0), true));
506
figure.Segments.Add(new
LineSegment
(new Point(9.0, 4.5), true));
507
figure.Segments.Add(new
LineSegment
(new Point(7.5, 6.0), true));
508
figure.Segments.Add(new
LineSegment
(new Point(4.5, 3.0), true));
509
figure.Segments.Add(new
LineSegment
(new Point(1.5, 6.0), true));
538
figure.Segments.Add(new
LineSegment
(new Point(4.5, 8.0), true));
539
figure.Segments.Add(new
LineSegment
(new Point(9.0, 3.5), true));
540
figure.Segments.Add(new
LineSegment
(new Point(7.5, 2.0), true));
541
figure.Segments.Add(new
LineSegment
(new Point(4.5, 5.0), true));
542
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)
464
figure.Segments.Add(new
LineSegment
(rect.TopRight, true));
465
figure.Segments.Add(new
LineSegment
(rect.BottomRight, true));
466
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 (43)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
105
LineSegment line = new
LineSegment
(new Point(size.Width - 0.5, 0.5), true);
113
line = new
LineSegment
(new Point(2.5, 2.5), true);
241
LineSegment line = new
LineSegment
(new Point(5.0, 0.0), false);
245
line = new
LineSegment
(new Point(10.0, 5.0), false);
253
LineSegment line = new
LineSegment
(new Point(10.0, 0.0), false);
257
line = new
LineSegment
(new Point(5.0, 5.0), false);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
399
figure.Segments.Add(new
LineSegment
(new Point(0.0, 4.5), true));
400
figure.Segments.Add(new
LineSegment
(new Point(4.5, 9.0), true));
401
figure.Segments.Add(new
LineSegment
(new Point(6.0, 7.5), true));
402
figure.Segments.Add(new
LineSegment
(new Point(3.0, 4.5), true));
403
figure.Segments.Add(new
LineSegment
(new Point(6.0, 1.5), true));
432
figure.Segments.Add(new
LineSegment
(new Point(8.0, 4.5), true));
433
figure.Segments.Add(new
LineSegment
(new Point(3.5, 9.0), true));
434
figure.Segments.Add(new
LineSegment
(new Point(2.0, 7.5), true));
435
figure.Segments.Add(new
LineSegment
(new Point(5.0, 4.5), true));
436
figure.Segments.Add(new
LineSegment
(new Point(2.0, 1.5), true));
465
figure.Segments.Add(new
LineSegment
(new Point(4.5, 0.0), true));
466
figure.Segments.Add(new
LineSegment
(new Point(9.0, 4.5), true));
467
figure.Segments.Add(new
LineSegment
(new Point(7.5, 6.0), true));
468
figure.Segments.Add(new
LineSegment
(new Point(4.5, 3.0), true));
469
figure.Segments.Add(new
LineSegment
(new Point(1.5, 6.0), true));
498
figure.Segments.Add(new
LineSegment
(new Point(4.5, 8.0), true));
499
figure.Segments.Add(new
LineSegment
(new Point(9.0, 3.5), true));
500
figure.Segments.Add(new
LineSegment
(new Point(7.5, 2.0), true));
501
figure.Segments.Add(new
LineSegment
(new Point(4.5, 5.0), true));
502
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)
464
figure.Segments.Add(new
LineSegment
(rect.TopRight, true));
465
figure.Segments.Add(new
LineSegment
(rect.BottomRight, true));
466
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));