Portable classic drawing APIs
Compatibility Shims
Preserve familiar drawing shapes while changing the implementation below them.
Explore source ↗Capability
ProGPU-backed SkiaSharp and System.Drawing.Common compatibility shims let existing drawing-oriented code target the modern GPU substrate during migration.
- 01
SkiaSharp-shaped API
- 02
System.Drawing-shaped API
- 03
ProGPU-backed implementation
- 04
Migration and portability bridge
How it composes
From intent
to working system.
Call site
Application code uses a familiar drawing API.
Shim
Compatibility types preserve the expected object model.
Translate
Operations map into ProGPU geometry, paint, text, and resources.
GPU
The backend executes through WebGPU rather than the original native stack.
Quick start
Adopt this
capability.
Start with the primary module, then add the related packages only when the application needs those layers. Replace VERSION with the current NuGet version.
dotnet add package ProGPU.SkiaSharp --prerelease<PackageReference Include="ProGPU.SkiaSharp" Version="VERSION" /><PackageVersion Include="ProGPU.SkiaSharp" Version="VERSION" />using var paint = new SKPaint { Color = SKColors.CornflowerBlue };canvas.DrawRoundRect(new SKRect(20, 20, 220, 100), 16, 16, paint);Modules in this capability
Use one layer.
Compose the rest.
Source of truth
Read the module beside the complete system.
The implementation, samples, issues, and release notes stay in the parent repository so module details remain connected to the product architecture.