2 instantiations of W2DCanvasState
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (2)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasStateService.cs (2)
20 return new PlatformCanvasState((PlatformCanvas)context); 25 return new PlatformCanvasState(prototype);
10 references to W2DCanvasState
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (10)
CompatUsings.cs (1)
4global using PlatformCanvasState = Microsoft.Maui.Graphics.Win2D.W2DCanvasState;
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (2)
30 : AbstractCanvas<PlatformCanvasState>, IBlurrableCanvas 722 protected override void StateRestored(PlatformCanvasState state)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasState.cs (2)
32 private readonly PlatformCanvasState _parentState; 100 PlatformCanvasState prototype) : base(prototype)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasStateService.cs (5)
9 /// that creates new or copies of <see cref="PlatformCanvasState"/>. 16 : ICanvasStateService<PlatformCanvasState> 18 public PlatformCanvasState CreateNew(object context) 23 public PlatformCanvasState CreateCopy(PlatformCanvasState prototype)