246 references to LineSegment
PresentationCore (1)
System\Windows\Media\LineGeometry.cs (1)
237
new PathSegment[]{new
LineSegment
(endPoint, true)},
PresentationFramework (28)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
266
PathSegment line = new
LineSegment
(new Point(hatchRect.Right, hatchRect.Top), true);
270
line = new
LineSegment
(new Point(hatchRect.Right, hatchRect.Bottom), true);
274
line = new
LineSegment
(new Point(hatchRect.Left, hatchRect.Bottom), true);
278
line = new
LineSegment
(new Point(hatchRect.Left, hatchRect.Top), true);
MS\Internal\Ink\PenCursorManager.cs (12)
463
LineSegment segment = new
LineSegment
(new Point(16, 5), true);
467
segment = new
LineSegment
(new Point(26, 15), true);
471
segment = new
LineSegment
(new Point(15, 15), true);
475
segment = new
LineSegment
(new Point(5, 5), true);
487
segment = new
LineSegment
(new Point(5, 10), true);
491
segment = new
LineSegment
(new Point(15, 19), true);
495
segment = new
LineSegment
(new Point(15, 15), true);
499
segment = new
LineSegment
(new Point(5, 5), true);
512
segment = new
LineSegment
(new Point(15, 19), true);
516
segment = new
LineSegment
(new Point(26, 19), true);
520
segment = new
LineSegment
(new Point(26, 15), true);
524
segment = new
LineSegment
(new Point(15, 15), true);
System\Windows\Controls\Primitives\TickBar.cs (8)
538
new
LineSegment
(pt2, true),
539
new
LineSegment
(pt0, true),
551
new
LineSegment
(pt2, true),
552
new
LineSegment
(pt0, true),
643
new
LineSegment
(pt2, true),
644
new
LineSegment
(pt0, true),
656
new
LineSegment
(pt2, true),
657
new
LineSegment
(pt0, true),
System\windows\Documents\CaretElement.cs (2)
726
pathFigure.Segments.Add(new
LineSegment
(new Point(-bidiCaretIndicatorWidth, 0), true));
727
pathFigure.Segments.Add(new
LineSegment
(new Point(0, _height / BidiIndicatorHeightRatio), true));
System\Windows\Documents\CompositionAdorner.cs (2)
286
pathFigure.Segments.Add(new
LineSegment
(pathPoint, true));
291
pathFigure.Segments.Add(new
LineSegment
(pathPoint, true));
PresentationFramework.Aero (42)
Microsoft\Windows\Themes\BulletChrome.cs (7)
878
figure.Segments.Add(new
LineSegment
(new Point(10.667, 3.167), true));
879
figure.Segments.Add(new
LineSegment
(new Point(7, 10.667), true));
880
figure.Segments.Add(new
LineSegment
(new Point(5.333, 10.667), true));
881
figure.Segments.Add(new
LineSegment
(new Point(3.333, 8.167), true));
882
figure.Segments.Add(new
LineSegment
(new Point(3.333, 6.833), true));
883
figure.Segments.Add(new
LineSegment
(new Point(4.833, 6.5), true));
884
figure.Segments.Add(new
LineSegment
(new Point(6, 8), true));
Microsoft\Windows\Themes\ButtonChrome.cs (3)
623
borderFigure.Segments.Add(new
LineSegment
(new Point(0.5, bounds.Bottom - 0.5), true));
624
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true));
626
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
326
LineSegment line = new
LineSegment
(new Point(4.0, 0.0), false);
330
line = new
LineSegment
(new Point(8.0, 4.0), false);
338
LineSegment line = new
LineSegment
(new Point(8.0, 0.0), false);
342
line = new
LineSegment
(new Point(4.0, 4.0), false);
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
483
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Left, bounds.Bottom), false));
484
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right, bounds.Bottom), false));
485
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right, bounds.Top), false));
494
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false));
495
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false));
496
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
603
figure.Segments.Add(new
LineSegment
(new Point(0, 3.5), true));
604
figure.Segments.Add(new
LineSegment
(new Point(4.0, 7.0), true));
633
figure.Segments.Add(new
LineSegment
(new Point(4, 3.5), true));
634
figure.Segments.Add(new
LineSegment
(new Point(0.0, 7.0), true));
663
figure.Segments.Add(new
LineSegment
(new Point(3.5, 0), true));
664
figure.Segments.Add(new
LineSegment
(new Point(7.0, 4.0), true));
693
figure.Segments.Add(new
LineSegment
(new Point(3.5, 4.0), true));
694
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)
234
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[1], guidelineSetY[1]), true));
235
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[1]), true));
244
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[3]), true));
245
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[3], guidelineSetY[3]), true));
246
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[3], guidelineSetY[5]), true));
250
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[5]), true));
255
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[4], guidelineSetY[5]), true));
256
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[4], guidelineSetY[4]), true));
257
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[4]), true));
261
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[5]), true));
267
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[2]), true));
268
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[2], guidelineSetY[2]), true));
269
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[2], guidelineSetY[0]), true));
273
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Aero2 (42)
Microsoft\Windows\Themes\BulletChrome.cs (7)
878
figure.Segments.Add(new
LineSegment
(new Point(10.667, 3.167), true));
879
figure.Segments.Add(new
LineSegment
(new Point(7, 10.667), true));
880
figure.Segments.Add(new
LineSegment
(new Point(5.333, 10.667), true));
881
figure.Segments.Add(new
LineSegment
(new Point(3.333, 8.167), true));
882
figure.Segments.Add(new
LineSegment
(new Point(3.333, 6.833), true));
883
figure.Segments.Add(new
LineSegment
(new Point(4.833, 6.5), true));
884
figure.Segments.Add(new
LineSegment
(new Point(6, 8), true));
Microsoft\Windows\Themes\ButtonChrome.cs (3)
623
borderFigure.Segments.Add(new
LineSegment
(new Point(0.5, bounds.Bottom - 0.5), true));
624
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true));
626
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
326
LineSegment line = new
LineSegment
(new Point(4.0, 0.0), false);
330
line = new
LineSegment
(new Point(8.0, 4.0), false);
338
LineSegment line = new
LineSegment
(new Point(8.0, 0.0), false);
342
line = new
LineSegment
(new Point(4.0, 4.0), false);
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
483
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Left, bounds.Bottom), false));
484
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right, bounds.Bottom), false));
485
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right, bounds.Top), false));
494
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false));
495
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false));
496
borderFigure.Segments.Add(new
LineSegment
(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
603
figure.Segments.Add(new
LineSegment
(new Point(0, 3.5), true));
604
figure.Segments.Add(new
LineSegment
(new Point(4.0, 7.0), true));
633
figure.Segments.Add(new
LineSegment
(new Point(4, 3.5), true));
634
figure.Segments.Add(new
LineSegment
(new Point(0.0, 7.0), true));
663
figure.Segments.Add(new
LineSegment
(new Point(3.5, 0), true));
664
figure.Segments.Add(new
LineSegment
(new Point(7.0, 4.0), true));
693
figure.Segments.Add(new
LineSegment
(new Point(3.5, 4.0), true));
694
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)
234
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[1], guidelineSetY[1]), true));
235
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[1]), true));
244
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[3]), true));
245
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[3], guidelineSetY[3]), true));
246
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[3], guidelineSetY[5]), true));
250
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[5]), true));
255
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[4], guidelineSetY[5]), true));
256
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[4], guidelineSetY[4]), true));
257
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[4]), true));
261
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[5]), true));
267
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[2]), true));
268
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[2], guidelineSetY[2]), true));
269
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[2], guidelineSetY[0]), true));
273
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.AeroLite (18)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
198
LineSegment line = new
LineSegment
(new Point(4.0, 0.0), false);
202
line = new
LineSegment
(new Point(8.0, 4.0), false);
210
LineSegment line = new
LineSegment
(new Point(8.0, 0.0), false);
214
line = new
LineSegment
(new Point(4.0, 4.0), false);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
234
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[1], guidelineSetY[1]), true));
235
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[1]), true));
244
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[3]), true));
245
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[3], guidelineSetY[3]), true));
246
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[3], guidelineSetY[5]), true));
250
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[5]), true));
255
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[4], guidelineSetY[5]), true));
256
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[4], guidelineSetY[4]), true));
257
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[4]), true));
261
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[5]), true));
267
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[2]), true));
268
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[2], guidelineSetY[2]), true));
269
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[2], guidelineSetY[0]), true));
273
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Classic (29)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (11)
877
figure.Segments.Add(new
LineSegment
(rect.TopRight, true));
878
figure.Segments.Add(new
LineSegment
(rect.BottomRight, true));
879
figure.Segments.Add(new
LineSegment
(rect.BottomLeft, true));
1081
figure.Segments.Add(new
LineSegment
(new Point(left, top + outerRadius), true)); //left side
1083
figure.Segments.Add(new
LineSegment
(new Point(right - outerRadius, top), true)); //top side
1085
figure.Segments.Add(new
LineSegment
(new Point(right - 1.0 - innerRadius * 0.293, top + 1.0 + innerRadius * 0.293), true)); //inner top right corner
1087
figure.Segments.Add(new
LineSegment
(new Point(left + outerRadius, top + 1.0), true)); //inner top side
1089
figure.Segments.Add(new
LineSegment
(new Point(left + 1.0, bottom), true)); //inner right side
1113
figure.Segments.Add(new
LineSegment
(new Point(right - 1.0, top + outerRadius), true)); //left side
1115
figure.Segments.Add(new
LineSegment
(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), true)); //top right corner
1117
figure.Segments.Add(new
LineSegment
(new Point(right, bottom), true)); //right side
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
157
LineSegment line = new
LineSegment
(new Point(5.0, 0.0), false);
161
line = new
LineSegment
(new Point(10.0, 5.0), false);
169
LineSegment line = new
LineSegment
(new Point(10.0, 0.0), false);
173
line = new
LineSegment
(new Point(5.0, 5.0), false);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
234
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[1], guidelineSetY[1]), true));
235
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[1]), true));
244
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[3]), true));
245
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[3], guidelineSetY[3]), true));
246
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[3], guidelineSetY[5]), true));
250
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[5]), true));
255
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[4], guidelineSetY[5]), true));
256
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[4], guidelineSetY[4]), true));
257
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[4]), true));
261
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[5]), true));
267
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[2]), true));
268
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[2], guidelineSetY[2]), true));
269
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[2], guidelineSetY[0]), true));
273
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Luna (43)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
179
LineSegment line = new
LineSegment
(new Point(size.Width - 0.5, 0.5), true);
187
line = new
LineSegment
(new Point(2.5, 2.5), true);
322
LineSegment line = new
LineSegment
(new Point(5.0, 0.0), false);
326
line = new
LineSegment
(new Point(10.0, 5.0), false);
334
LineSegment line = new
LineSegment
(new Point(10.0, 0.0), false);
338
line = new
LineSegment
(new Point(5.0, 5.0), false);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
443
figure.Segments.Add(new
LineSegment
(new Point(0.0, 4.5), true));
444
figure.Segments.Add(new
LineSegment
(new Point(4.5, 9.0), true));
445
figure.Segments.Add(new
LineSegment
(new Point(6.0, 7.5), true));
446
figure.Segments.Add(new
LineSegment
(new Point(3.0, 4.5), true));
447
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));
509
figure.Segments.Add(new
LineSegment
(new Point(4.5, 0.0), true));
510
figure.Segments.Add(new
LineSegment
(new Point(9.0, 4.5), true));
511
figure.Segments.Add(new
LineSegment
(new Point(7.5, 6.0), true));
512
figure.Segments.Add(new
LineSegment
(new Point(4.5, 3.0), true));
513
figure.Segments.Add(new
LineSegment
(new Point(1.5, 6.0), true));
542
figure.Segments.Add(new
LineSegment
(new Point(4.5, 8.0), true));
543
figure.Segments.Add(new
LineSegment
(new Point(9.0, 3.5), true));
544
figure.Segments.Add(new
LineSegment
(new Point(7.5, 2.0), true));
545
figure.Segments.Add(new
LineSegment
(new Point(4.5, 5.0), true));
546
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)
468
figure.Segments.Add(new
LineSegment
(rect.TopRight, true));
469
figure.Segments.Add(new
LineSegment
(rect.BottomRight, true));
470
figure.Segments.Add(new
LineSegment
(rect.BottomLeft, true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
234
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[1], guidelineSetY[1]), true));
235
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[1]), true));
244
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[3]), true));
245
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[3], guidelineSetY[3]), true));
246
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[3], guidelineSetY[5]), true));
250
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[5]), true));
255
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[4], guidelineSetY[5]), true));
256
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[4], guidelineSetY[4]), true));
257
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[4]), true));
261
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[5]), true));
267
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[2]), true));
268
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[2], guidelineSetY[2]), true));
269
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[2], guidelineSetY[0]), true));
273
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Royale (43)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
108
LineSegment line = new
LineSegment
(new Point(size.Width - 0.5, 0.5), true);
116
line = new
LineSegment
(new Point(2.5, 2.5), true);
244
LineSegment line = new
LineSegment
(new Point(5.0, 0.0), false);
248
line = new
LineSegment
(new Point(10.0, 5.0), false);
256
LineSegment line = new
LineSegment
(new Point(10.0, 0.0), false);
260
line = new
LineSegment
(new Point(5.0, 5.0), false);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
403
figure.Segments.Add(new
LineSegment
(new Point(0.0, 4.5), true));
404
figure.Segments.Add(new
LineSegment
(new Point(4.5, 9.0), true));
405
figure.Segments.Add(new
LineSegment
(new Point(6.0, 7.5), true));
406
figure.Segments.Add(new
LineSegment
(new Point(3.0, 4.5), true));
407
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));
469
figure.Segments.Add(new
LineSegment
(new Point(4.5, 0.0), true));
470
figure.Segments.Add(new
LineSegment
(new Point(9.0, 4.5), true));
471
figure.Segments.Add(new
LineSegment
(new Point(7.5, 6.0), true));
472
figure.Segments.Add(new
LineSegment
(new Point(4.5, 3.0), true));
473
figure.Segments.Add(new
LineSegment
(new Point(1.5, 6.0), true));
502
figure.Segments.Add(new
LineSegment
(new Point(4.5, 8.0), true));
503
figure.Segments.Add(new
LineSegment
(new Point(9.0, 3.5), true));
504
figure.Segments.Add(new
LineSegment
(new Point(7.5, 2.0), true));
505
figure.Segments.Add(new
LineSegment
(new Point(4.5, 5.0), true));
506
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)
468
figure.Segments.Add(new
LineSegment
(rect.TopRight, true));
469
figure.Segments.Add(new
LineSegment
(rect.BottomRight, true));
470
figure.Segments.Add(new
LineSegment
(rect.BottomLeft, true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
234
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[1], guidelineSetY[1]), true));
235
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[1]), true));
244
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[3]), true));
245
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[3], guidelineSetY[3]), true));
246
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[3], guidelineSetY[5]), true));
250
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[0], guidelineSetY[5]), true));
255
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[4], guidelineSetY[5]), true));
256
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[4], guidelineSetY[4]), true));
257
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[4]), true));
261
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[5]), true));
267
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[2]), true));
268
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[2], guidelineSetY[2]), true));
269
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[2], guidelineSetY[0]), true));
273
figure.Segments.Add(new
LineSegment
(new Point(guidelineSetX[5], guidelineSetY[0]), true));