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