8 references to Transform
aspire-tray (8)
src\Aspire.Tray\Common\TrayPanelGlyphs.cs (8)
92void Fill(PanelPath path, PanelColor color) => commands.Add(new FillPathCommand(path.Transform(scale, bounds.X, bounds.Y), color)); 94=> commands.Add(new StrokePathCommand(path.Transform(scale, bounds.X, bounds.Y), color, width * scale)); 194void Fill(PanelPath path) => commands.Add(new FillPathCommand(path.Transform(scale, bounds.X, bounds.Y), color)); 196=> commands.Add(new StrokePathCommand(path.Transform(scale, bounds.X, bounds.Y), color, width * scale)); 210commands.Add(new FillPathCommand(PanelPath.RoundedRect(track, 9).Transform(scale, bounds.X, bounds.Y), 215commands.Add(new StrokePathCommand(PanelPath.RoundedRect(track.Inset(0.5, 0.5), 8.5).Transform(scale, bounds.X, bounds.Y), 218commands.Add(new FillPathCommand(PanelPath.Circle(on ? 23 : 9, 9, 6.5).Transform(scale, bounds.X, bounds.Y), 222commands.Add(new StrokePathCommand(PanelPath.Circle(9, 9, 6.5).Transform(scale, bounds.X, bounds.Y),