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)
157foreach (var segment in path.Segments)
src\Aspire.Tray\Common\TrayPanelGeometry.cs (4)
64private readonly List<PanelPathSegment> _segments = []; 66public IReadOnlyList<PanelPathSegment> Segments => _segments; 175foreach (var s in _segments) 191foreach (var s in _segments)
src\Aspire.Tray\Linux\LinuxTrayPanel.cs (1)
724foreach (var segment in path.Segments)
TrayPanelTests.cs (4)
1031foreach (var cubic in cubics) 1046var cubic = new PanelPath().Arc(0, 0, 1, 0, 90).Segments[1]; 1493private static (double X, double Y) Midpoint(PanelPathSegment previous, PanelPathSegment cubic)