5 instantiations of PanelPathSegment
Aspire.Tray.Tests (5)
src\Aspire.Tray\Common\TrayPanelGeometry.cs (5)
70
_segments.Add(
new
(PanelPathVerb.MoveTo, 0, 0, 0, 0, x, y));
76
_segments.Add(
new
(PanelPathVerb.LineTo, 0, 0, 0, 0, x, y));
82
_segments.Add(
new
(PanelPathVerb.CubicTo, x1, y1, x2, y2, x, y));
88
_segments.Add(
new
(PanelPathVerb.Close, 0, 0, 0, 0, 0, 0));
179
:
new
(s.Verb,
10 references to PanelPathSegment
Aspire.Tray.Tests (10)
Helpers\TrayPanelSvgRenderer.cs (1)
157
foreach (
var
segment in path.Segments)
src\Aspire.Tray\Common\TrayPanelGeometry.cs (4)
64
private readonly List<
PanelPathSegment
> _segments = [];
66
public IReadOnlyList<
PanelPathSegment
> Segments => _segments;
175
foreach (
var
s in _segments)
191
foreach (
var
s in _segments)
src\Aspire.Tray\Linux\LinuxTrayPanel.cs (1)
724
foreach (
var
segment in path.Segments)
TrayPanelTests.cs (4)
1031
foreach (
var
cubic in cubics)
1046
var
cubic = new PanelPath().Arc(0, 0, 1, 0, 90).Segments[1];
1493
private static (double X, double Y) Midpoint(
PanelPathSegment
previous,
PanelPathSegment
cubic)