The Skia 2D Graphics library from Google exposed to .NET languages and runtimes across the board
Перейти к файлу
Bill Holmes b0f2d2343d Adding Android Skia binding
- Android binding project created
   - Using the system skia.  Need to build the Android version.
     The system skia is not working on all devices.  Guessing you
     need Android M.

 - Android Forms sample hooked up

 - Moved the upper left matrix change to the iOS
   native view.  Otherwise Android has to apply it twice.
2015-11-20 22:17:33 -05:00
binding Adding Android Skia binding 2015-11-20 22:17:33 -05:00
native-builds Adding Makefiles to build Skia for iOS 2015-11-20 19:35:47 -05:00
samples/Skia.Forms.Demo Adding Android Skia binding 2015-11-20 22:17:33 -05:00
skia@2e74eb03db Adding Makefiles to build Skia for iOS 2015-11-20 19:35:47 -05:00
.gitignore Adding a Skia Forms sample 2015-11-20 20:45:41 -05:00
.gitmodules Add Skia as a submodule 2015-11-19 11:06:10 -05:00
README.md Update README.md 2015-11-14 22:46:15 -05: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.