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.
Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
December 06, 2021 Skia library for D, porting from SkiaSharp API. | ||||
---|---|---|---|---|
| ||||
December 06, 2021 Re: Skia library for D, porting from SkiaSharp API. | ||||
---|---|---|---|---|
| ||||
Posted in reply to zoujiaqing | 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. Thanks for sharing! About two years I started creating D bindings 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 + 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). |
December 06, 2021 Re: Skia library for D, porting from SkiaSharp API. | ||||
---|---|---|---|---|
| ||||
Posted in reply to zoujiaqing | On Monday, 6 December 2021 at 09:08:20 UTC, zoujiaqing wrote: >Nice. |
December 06, 2021 Re: Skia library for D, porting from SkiaSharp API. | ||||
---|---|---|---|---|
| ||||
Posted in reply to zoujiaqing | 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 |
December 08, 2021 Re: Skia library for D, porting from SkiaSharp API. | ||||
---|---|---|---|---|
| ||||
Posted in reply to zoujiaqing | 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. Nice, consider adding it to dub if you haven't done so already 🌅 |
December 08, 2021 Re: Skia library for D, porting from SkiaSharp API. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn Attachments:
| On Tue, Dec 7, 2021 at 6:40 PM Imperatorn via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > 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. Which in turn is "based on Google's Skia Graphics Library (skia.org)" Just being pedantic because I have some friends on that team. :-) Nice work! > It provides a comprehensive 2D API that can be used > > across mobile, server and desktop models to render images. > > > > https://github.com/gearui/skiad > > Nice, consider adding it to dub if you haven't done so already 🌅 > |
December 10, 2021 Re: Skia library for D, porting from SkiaSharp API. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | On Wednesday, 8 December 2021 at 02:39:57 UTC, Imperatorn wrote: >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. Nice, consider adding it to dub if you haven't done so already 🌅 Thanks, dub repo is here: |