Re: Skia library for D, porting from SkiaSharp API.

2021-12-10 Thread zoujiaqing via Digitalmars-d-announce

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.


https://github.com/gearui/skiad


Nice, consider adding it to dub if you haven't done so already 


Thanks, dub repo is here:
https://code.dlang.org/packages/skiad


Re: Skia library for D, porting from SkiaSharp API.

2021-12-08 Thread Bill Baxter via Digitalmars-d-announce
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 
>


Re: Skia library for D, porting from SkiaSharp API.

2021-12-07 Thread Imperatorn via Digitalmars-d-announce

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


Nice, consider adding it to dub if you haven't done so already 


Re: Skia library for D, porting from SkiaSharp API.

2021-12-06 Thread Johndavidson9 via Digitalmars-d-announce

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

Thank you for providing information.




Re: Skia library for D, porting from SkiaSharp API.

2021-12-06 Thread zjh via Digitalmars-d-announce

On Monday, 6 December 2021 at 09:08:20 UTC, zoujiaqing wrote:


https://github.com/gearui/skiad


Nice.



Re: Skia library for D, porting from SkiaSharp API.

2021-12-06 Thread Petar via Digitalmars-d-announce

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/