Skia library for D, porting from SkiaSharp API.

Petar Petar
Mon Dec 6 10:07:27 UTC 2021


On Monday, 6 December 2021 at 09:08:20 UTC, zoujiaqing wrote:
> SkiaD is a cross-platform 2D graphics API for D based on Mono's 
> SkiaSharp. It provides a comprehensive 2D API that can be used 
> across mobile, server and desktop models to render images.
>
> https://github.com/gearui/skiad

Thanks for sharing! About two years I started creating [D 
bindings][1] for the C API of Skia, but I didn't have time to 
finish that project. Actually, if I remember correctly, all of 
the C API is covered, but I haven't tested it. My main motivation 
was to play with creating a Flutter-like GUI library, but I had 
to put this task on hold.

Initially, one of the challenges was figuring out a good model 
for building and distributing Skia for users of the Dub package. 
Nowadays, if I were to resume work on this, I would most likely 
use a [Nix][2] + Dub combo, since Nix solves the problem of 
building third-party libraries and including them in another 
project in a very clean way (among many other cool properties).

[1]: https://github.com/PetarKirov/skia-d
[2]: https://nixos.org/


More information about the Digitalmars-d-announce mailing list