SkiaSharp/samples
Jérôme Laban 17a289b3d3
feat: Move to JSImport for WinUI Target on net7.0 (#2428)
* ci: Adjust .NET 7 task name

* feat: Move to JSImport for WinUI Target on net7.0

* ci: Remove Uno Gallery WinUI sample testing on linux

Until dotnet build can be used. The sample is still built under windows.

* ci: Build uno.winui gallery

* ci: Adjust gallery net6-ios build

* chore: Add Uno SKSwapChainPanel stub for mac catalyst

* ci: remove winui test for net7

Needed until uno.ui can be updated to 4.6 or later, as the uno-runtime folder now supports the net7.0 structure, and is incompatible with uno 4.5 or earlier.

* ci: restore linux sample test

* ci: Adjust targets inclusion for uno winui

* ci: Add macOS testing for netcore targets

* chore: remove uno build from linux netfx, add netcore linux specific filter

* ci: remove netcore incompatible filters from library build

* ci: Remove linux test for uno.winui sample app
2023-06-21 21:17:49 +08:00
..
AppStoreCertificates Don't allocate arrays when copying streams (#1510) 2020-09-26 19:06:36 +02:00
Basic feat: Move to JSImport for WinUI Target on net7.0 (#2428) 2023-06-21 21:17:49 +08:00
Gallery feat: Move to JSImport for WinUI Target on net7.0 (#2428) 2023-06-21 21:17:49 +08:00
.gitignore
Directory.Build.props fix: Force use Uno's Roslyn hosted generators instead of Uno.SourceGeneration tasks (#2199) 2022-08-09 00:54:07 +02:00
Directory.Build.targets Update maui to Preview 12 (#1932) 2022-01-27 01:44:17 +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)