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,
9 references to PanelPathSegment
Aspire.Tray.Tests (9)
Helpers\TrayPanelSvgRenderer.cs (1)
106foreach (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)
TrayPanelTests.cs (4)
926foreach (var cubic in cubics) 941var cubic = new PanelPath().Arc(0, 0, 1, 0, 90).Segments[1]; 1384private static (double X, double Y) Midpoint(PanelPathSegment previous, PanelPathSegment cubic)