KarthikRIyer/swiftplot

For your consideration: SkiaKit

migueldeicaza opened this issue · 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

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 !

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).