swiftplot icon indicating copy to clipboard operation
swiftplot copied to clipboard

For your consideration: SkiaKit

Open migueldeicaza opened this issue 4 years ago • 2 comments

When this project was announced, I decided to bind Google's Skia library for Swift, which is quite comprehensive and provides the rendering engine to both Google Chrome and Android.

It is also cross platform out of the box, in case you want to look at it:

https://github.com/migueldeicaza/SkiaKit

migueldeicaza avatar Apr 14 '20 15:04 migueldeicaza

This looks really interesting! If we use this in SwiftPlot we can worry less about supporting cross-platform rendering backends.

Does this work on Linux? I can see only apple based platforms in the Package.swift file.

Thanks a lot for sharing @migueldeicaza !

KarthikRIyer avatar Apr 14 '20 16:04 KarthikRIyer

Well, eventually it should work on Linux, I have not tried that part yet, it should be relatively easy to make it work on Linux, as this is purely a binding, and the native payload comes from a separate place (there is a separate discussion on how to provide binaries for this on the assorted Linux distributions, but we can discuss that).

migueldeicaza avatar Apr 15 '20 20:04 migueldeicaza