SkiaSharp/samples
Matthew Leibowitz 4bc170cdde
Added Uno Platform support (#1396)
Added the initial Uno implementations, code pulled from:
 - https://github.com/unoplatform/Uno.SkiaSharp
 - https://github.com/mono/SkiaSharp/pull/1333

Co-authored-by: Jérôme Laban <jerome.laban@nventive.com>
Co-authored-by: Geoffrey Huntley <ghuntley@ghuntley.com>
Co-authored-by: Martin Zikmund <martin@zikmund.dev>
2020-07-14 01:46:50 +02:00
..
AppStoreCertificates Some of the colorspaces created are just references (#922) 2019-09-24 01:34:44 +02:00
Basic Added Uno Platform support (#1396) 2020-07-14 01:46:50 +02:00
Gallery Update the version of Clang used to build for Tizen (#1386) 2020-07-07 19:15:40 +02:00
.gitignore Added the UWP app store certificates to source control 2016-09-04 01:03:50 +02:00
README.md Add the WPF backend for Xamarin.Forms (#917) 2019-07-26 15:05:54 +02:00
README.zip.md Add the WPF backend for Xamarin.Forms (#917) 2019-07-26 15:05:54 +02:00

README.md

SkiaSharp Samples

This folder contains many samples to demonstrate both platforms and features. If you download this repository and want to test builds or make changes to the library, then you are in the right place.

If you want to modify the libraries and/or samples, but don't have all the machines to build all the native libraries, check out this guide to downloading the pre-built native libraries.

If you are looking to try out the samples, but are not looking to build this repository, then check out the samples.zip file on each release.

This Folder

There are 2 main types of sample apps in this folder:

  1. Basic
    Demonstrates the simplest way to use SkiaSharp on a particular platform.
  2. Gallery
    Each app contains several sample drawing to demonstrate different features of SkiaSharp.

The "AppStoreCertificates" folder just contains the keystores and certificates to build the samples. This is more fore CI so it can build Release apps, so feel free to use your own.

Basic Samples

There are several simple samples, each of which demonstrate the simplest way to use SkiaSharp on a particular platform.

Currently there are samples for all the supported platforms, and variations of frameworks on them:

  • .NET Core
  • Android
  • Docker
  • GTK (v2 and v3)
  • iOS
  • macOS
  • Tizen (Xamarin.Forms and ElmSharp)
  • tvOS
  • UWP
  • watchOS
  • Windows.Forms
  • WPF
  • Xamarin.Forms (Android, macOS, Tizen, UWP, iOS, WPF)

For more complex samples that demonstrates specific features, there is a nice gallery app for several platforms:

  • macOS
  • tvOS
  • UWP
  • Windows.Forms
  • WPF
  • Xamarin.Forms (Android, macOS, Tizen, UWP, iOS, WPF)