mono/SkiaSharp


SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.

License: MIT

Language: C#

Keywords: android, cross-platform, dot-net, dotnet, graphics, ios, macos, skia, skiasharp, windows, xamarin


SkiaSharp

SkiaSharp SkiaSharp.Views SkiaSharp.Views.Forms HarfBuzzSharp
chat SkiaSharp API Docs HarfBuzzSharp API Docs SkiaSharp Guides
Build Status Build Status

SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library (skia.org). It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.

SkiaSharp provides cross-platform bindings for:

  • .NET Standard 1.3
  • .NET Core
  • Tizen
  • Xamarin.Android
  • Xamarin.iOS
  • Xamarin.tvOS
  • Xamarin.watchOS
  • Xamarin.Mac
  • Windows Classic Desktop (Windows.Forms / WPF)
  • Windows UWP (Desktop / Mobile / Xbox / HoloLens)

The API Documentation is available on the web to browse.

Using SkiaSharp

SkiaSharp is available as a convenient NuGet package, to use install the package like this:

nuget install SkiaSharp

Because there are multiple distros of Linux, and we cannot possibly support them all, we have a separate NuGet package that will contain the supported binaries for a few distros: SkiaSharp.NativeAssets.Linux. (distros) (more info)

There is also a early access feed that you can use to get the latest and greatest, before it goes out to the public:

https://nugetized.blob.core.windows.net/skiasharp-eap/index.json

Building SkiaSharp

Before building SkiaSharp:

  • Python 2.7 is available in the PATH environment variable on Windows
  • Android NDK r15 is available in the ANDROID_NDK_HOME environment variable on macOS
  • .NET Core is installed on all platforms
  • C/C++ Compiler (MSVC / "Desktop development" package on Windows)

First, clone the repository:

$ git clone https://github.com/mono/SkiaSharp.git

Next, set up the submodules:

$ cd SkiaSharp
$ git submodule update --init --recursive

Finally, build everything:

Mac/Linux:

$ ./bootstrapper.sh -t everything

Windows:

> .\bootstrapper.ps1 -t everything

Compare Code

Here are some links to show the differences in our code as compared to Google's code.

What version are we on? m68
Are we up-to-date with Google? Compare
What have we added? Compare

Project Statistics

Sourcerank 16
Repository Size 25.5 MB
Stars 1,476
Forks 248
Watchers 109
Open issues 175
Dependencies 108
Contributors 52
Tags 49
Created
Last updated
Last pushed

Top Contributors See all

Matthew Leibowitz Miguel de Icaza Gillibald Bill Holmes Tyler Hoeflicker Peter Golde charlenni adrian gallero vincent-kwon Nikita Tsukanov Alexander Marek Craig Dunn Mike Kinsman 8 Mike Kinsman Bojan Rajkovic seanofw seanofw tdenniston eoner

Packages Referencing this Repo

SkiaSharp
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics ...
Latest release 1.68.1 - Updated - 1.48K stars
SkiaSharp.Views.Forms
SkiaSharp for Xamarin.Forms is a set of views that can be used to draw on the screen.
Latest release 1.68.1 - Updated - 1.48K stars
SkiaSharp.Views
SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to ...
Latest release 1.68.1 - Updated - 1.48K stars
SkiaSharp.HarfBuzz
This package adds text shaping support to SkiaSharp via HarfBuzz.
Latest release 1.68.1 - Updated - 1.48K stars
HarfBuzzSharp
HarfBuzzSharp is a cross-platform OpenType text shaping engine for .NET platforms.
Latest release 2.6.1 - Updated - 1.48K stars

Recent Tags See all

v1.68.1 November 22, 2019
v1.68.1-rc.172 November 21, 2019
v1.68.1-rc.170 November 21, 2019
v1.68.1-rc.169 November 21, 2019
v1.68.1-rc.165 November 21, 2019
v1.68.1-rc.153 October 18, 2019
v1.68.1-rc.147 July 30, 2019
v1.68.0 December 02, 2018
v1.68.0-preview28 November 06, 2018
v1.60.3 August 13, 2018
v1.60.3 August 13, 2018
v1.60.2 June 28, 2018
v1.60.1 May 21, 2018
v1.60.0 February 22, 2018
v1.60.0 February 22, 2018

Interesting Forks See all

arventwei/SkiaSharp
Support for the Skia Library
C# - Updated - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-11-22 06:19:32 UTC

Login to resync this repository