A minimal D application.
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
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.
- DMD 2.096.0 and above
- SkiaSharp 2.80.2 and above
Download SkiaSharp 2.80.2
Download the SkiaSharp package from here. Extract the runtimes for your OS plantform.
> mkdir -p c:\lib\win-x64 > copy skiasharp\2.80.2\runtimes\win-x64\native\libSkiaSharp.dll c:\lib\win-x64 > cd lib\windows > lib /def:skia.def /MACHINE:X64 /out:SkiaSharp.lib > copy SkiaSharp.lib c:\lib\win-x64
> cp skiasharp/2.80.2/runtimes/osx/native/libSkiaSharp.dylib /usr/local/lib
- [x] Improvements for SKColor parser
- [x] SKCanvas.DrawText with Chinese
- [ ] More tests
- Registered by zoujiaqing
- ~main released 10 months ago
- Copyright © 2020, HuntLabs