unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
8.88k stars 717 forks source link

Finish SkiaSharp implementation for WASM #1070

Closed peternary closed 4 years ago

peternary commented 5 years ago

What would you like to be added:

Finish the CanvasKit/SkiaSharp implementation started in https://github.com/nventive/skia

Specific features would be further Draw methods (like DrawArc), CanvasSize support, Tapped/PointerPressed event handling, and functional SkPicture support so we could use SkiaSharp.Extended.Svg

Why is this needed:

This would allow unified canvas support across all Uno-supported platforms

For which Platform:

Anything else we need to know?

With the current implementation I have also noticed some variations in scale of drawn objects between UWP and WASM

jeromelaban commented 4 years ago

Support for these methods has been added in recent builds of SkiaSharp.