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.
Перейти к файлу
Matthew Leibowitz 9d5c6d536d
Update docs (#2597)
2023-09-05 00:49:23 +02:00
.config Add an argument for device OS version (#2558) 2023-08-17 23:03:55 +08:00
.github Add YAML issue templates (#2571) 2023-08-20 00:47:36 +02:00
benchmarks Modernize the repository and prepare SkiaSharp 3.0 (#2505) 2023-07-30 23:49:57 +08:00
binding Floor outwards when converting to SKRectI (#2568) 2023-08-20 17:47:32 +02:00
changelogs Re-generate all the changelogs (#2592) 2023-09-01 04:57:18 +08:00
docs@726b6ce666 Update docs (#2597) 2023-09-05 00:49:23 +02:00
externals Update harfbuzz to 7.3.0 (#2582) 2023-08-29 04:22:49 +02:00
images
interactive
native Update harfbuzz to 7.3.0 (#2582) 2023-08-29 04:22:49 +02:00
samples Updated the samples to use the new APIs 2023-08-17 17:24:04 +02:00
scripts Update harfbuzz to 7.3.0 (#2582) 2023-08-29 04:22:49 +02:00
source Try do a better job at detecting workloads (#2567) 2023-08-19 22:02:03 +02:00
tests Update harfbuzz to 7.3.0 (#2582) 2023-08-29 04:22:49 +02:00
utils Update skia and regenerated the C# pinvokes 2023-08-17 17:24:04 +02:00
.editorconfig
.gitattributes
.gitignore Modernize the repository and prepare SkiaSharp 3.0 (#2505) 2023-07-30 23:49:57 +08:00
.gitmodules
CODE-OF-CONDUCT.md
External-Dependency-Info.txt
LICENSE.md
LICENSE.txt
README.md Modernize the repository and prepare SkiaSharp 3.0 (#2505) 2023-07-30 23:49:57 +08:00
build.cake Add an argument for device OS version (#2558) 2023-08-17 23:03:55 +08:00
build.ps1 Modernize the repository and prepare SkiaSharp 3.0 (#2505) 2023-07-30 23:49:57 +08:00
build.sh Modernize the repository and prepare SkiaSharp 3.0 (#2505) 2023-07-30 23:49:57 +08:00
cgmanifest.json
nuget.config Modernize the repository and prepare SkiaSharp 3.0 (#2505) 2023-07-30 23:49:57 +08:00

README.md

SkiaSharp

SkiaSharp HarfBuzzSharp

SkiaSharp.Views SkiaSharp.Views.Maui.Controls SkiaSharp.Views.Uno

discord 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
  • .NET 6
  • Tizen
  • Android
  • iOS
  • tvOS
  • macOS
  • Mac Catalyst
  • WinUI 3 (Windows App SDK / Uno Platform)
  • Windows Classic Desktop (Windows.Forms / WPF)
  • Web Assembly (WASM)
  • Uno Platform (iOS / macOS / Android / WebAssembly)

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://aka.ms/skiasharp-eap/index.json

Building SkiaSharp

Building SkiaSharp is mostly straight forward. The main issue is the multiple dependencies for each platform.

However, these are easy to install as they are found on the various websites. If you are just working on managed code, it is even easier as there mays to skip all the native builds.

  • To get started building, go here.
  • If you are just wanting a custom Linux build, go here

Compare Code

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

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