The Skia 2D Graphics library from Google exposed to .NET languages and runtimes across the board
Перейти к файлу
Matthew Leibowitz f8158c42e3 [C# API] We don't need the .lib for managed applications 2016-01-18 20:59:17 +02:00
binding [C# API] We don't need the .lib for managed applications 2016-01-18 20:59:17 +02:00
depot_tools@3add4b62b8 [Build] Added the Windows native build using Cake 2016-01-14 06:42:16 +02:00
native-builds [C# API] Added Windows sample and fixed the binding 2016-01-16 00:27:01 +02:00
samples [C# API] Added Windows sample and fixed the binding 2016-01-16 00:27:01 +02:00
skia@556058e668 [Build] Added the Windows native build using Cake 2016-01-14 06:42:16 +02:00
.gitignore [Build] Added the output to the .gitignore 2016-01-15 15:03:08 +02:00
.gitmodules [Build] Added the Windows native build using Cake 2016-01-14 06:42:16 +02:00
README.md Update README.md 2015-11-14 22:46:15 -05:00
bootstrapper.ps1 [Build] Added the Windows native build using Cake 2016-01-14 06:42:16 +02:00
bootstrapper.sh [Build] Added the rest of the platforms to the build script 2016-01-14 23:41:16 +02:00
build.cake Revert "[Build] Trying something to fix the build" 2016-01-18 20:31:32 +02:00
cake.packages.config [Build] Added the Windows native build using Cake 2016-01-14 06:42:16 +02:00
common.cake [Build] Updated the build script to the latest Cake addins 2016-01-18 20:51:37 +02:00
link-statics-into-dynamic.dylib Initial Skia import 2015-11-13 16:40:06 -05:00

README.md

SkiaSharp

Support for the Skia Library, to build, you want to get Skia from skia.org, it has instructions on how to build for your platform.

I am testing on OSX with a dylib created from the static objects, but there are now instructions on creating a dynamic library for Skia here:

https://github.com/xamarin/skia/blob/master/experimental/c-api-example/c.md

If you want to use OSX and create the library like I did, just run the dylib script in this directory and place the resulting library in /tmp/libskia.dylib

Status

The binding is up to date to the C API of Skia as of November 13th 2015, or around this version of Skia:

1d5127327111e00d0e4530adae73b11ad2ee3f42

It has been further updated to Xamarin's Skia fork, so up to:

c25b614b7c17b9d865b0cafea8ba3203dc386d2e

This fork contains many missing features, like font selection and text rendering.

There are still many missing types from the C API.