The Skia 2D Graphics library from Google exposed to .NET languages and runtimes across the board
Перейти к файлу
Matthew Leibowitz e8c6373fb9 [docs] [build] Added the MS XML docs as part of the outputs 2016-02-29 19:52:44 +02:00
binding Fix the Windows .targets as we don't want the .pdb files 2016-02-22 21:05:12 +02:00
depot_tools@3d3a2f6aa1 [Build] Update to the latest depot_tools 2016-02-04 16:14:24 +02:00
docs Update docs 2016-02-22 22:27:07 -08:00
native-builds [Build] improved the build for Windows CI 2016-02-23 00:18:12 +02:00
nuget Dropping the Xamarin name from the NuGet package name. 2016-02-22 15:19:54 -05:00
samples Changing the sample font to Lateef 2016-02-22 16:50:42 -05:00
skia@6519e6b500 Attempting to fix the skia submodule 2016-02-22 14:39:22 -05:00
tests [Build] Improved the Windows build 2016-02-04 21:46:42 +02:00
tools [Build] Generate the SkiaSharp Portable source at build time to prevent out-of-date assemblies 2016-01-18 23:30:36 +02:00
.gitignore [Build] Improved the Windows build 2016-02-04 21:46:42 +02:00
.gitmodules Updating the Skia submodule 2016-02-22 13:14:18 -05:00
Binding.md Create Binding.md 2016-02-22 13:42:32 -05:00
LICENSE.md Adding MIT license file 2016-02-22 11:46:04 -05:00
Makefile Update 2016-02-22 22:32:40 -08:00
README.md Added build help to the readme 2016-02-23 18:48:23 +02: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 [docs] [build] Added the MS XML docs as part of the outputs 2016-02-29 19:52:44 +02:00
cake.packages.config [Tests] Added the test run to the Cake script 2016-02-02 02:33:43 +02:00

README.md

SkiaSharp

SkiaSharp is a cross-platform, managed binding for the Skia Graphics Library (https://skia.org/)

What is Included

SkiaSharp provides a PCL and platform-specific bindings for:

  • Mac OS X
  • Xamarin.Android
  • Xamarin.iOS
  • Windows Desktop
  • Mac Desktop

You can also build this on your particular variant of Unix to create your native libraries.

Using SkiaSharp

Check our getting started guide

Building SkiaSharp

To build SkiaSharp on Mac OS X (Bash):

$ ./bootstrapper.sh -t libs

Similarly on Windows (PowerShell):

> .\bootstrapper.ps1 -Target libs

There are several targets available:

  • externals - builds all the native libraries
    • [win] externals-windows - builds the native libraries for Windows
    • [mac] externals-osx - builds the native libraries for Mac OS X
    • [mac] externals-ios - builds the native libraries for iOS
    • [mac] externals-andoid - builds the native libraries for Android
  • libs - builds all the managed libraries
    • [win] libs-windows - builds the managed libraries that can be built on Windows
    • [mac] libs-osx - builds the managed libraries that can be built on Mac OS X
  • tests - builds and runs the tests
  • samples - builds the samples available for the current platform
  • docs - updates the mdoc files
  • nuget - packages the libraries into a NuGet
  • CI - builds everything

Where is Windows Phone / Store

At this time, Windows Phone and Windows Store apps are not supported. This is due to the native library not supporting those platforms: