Version 1.60.1
SkiaSharp
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.
Significant Changes
- Added Tizen OS support (preview)
Changes
- Added
SKAutoCoInitialize
to assist in initializing COM on supported platforms - Added
GRGlInterface.CreateNativeEvasInterface()
to create a GL interface from an Evas GL object - Fixed a bug when copying bitmaps
- Fixed a bug when opening
SKDocument
- Fixed a bug when disposing objects
- Dropped support for PCL (now using .NET Standard 1.3 everywhere)
Build Changes
- Fairly major overhaul of the build system
- Building libSkiaSharp for Windows and Linux no longer requires any managed tooling
- Almost all native code has been moved into the mono/skia repository
Links
NuGet | Code Diff | Project | Milestone
macOS CI | Windows CI | Linux CI (Ubuntu 14) | Linux CI (Ubuntu 16)
SkiaSharp.Views
A set of pre-prepared UI views, panels and surfaces for drawing. One of these views can be added to the view hierarchy, and then be used for drawing without the need for complex setup. There is also a set of extension methods for converting to/from SkiaSharp and native types.
Significant Changes
- Added
SKCanvasView
andSKGLSurfaceView
for Tizen OS (preview)
Changes
- Fixed a bug in Android's
GLTextureView
where the stack trace was lost - Fixed a bug in Android's
GLTextureView
where pausing the app would cause a crash - Fixed a bug in iOS where color space information was lost
- Fixed a bug in GTK#'s
SKWidget
where it would try and swizzle too many pixels
Links
SkiaSharp.Views.Forms
A set of pre-prepared views for Xamarin.Forms, for fully cross-platform drawing code. There are views for both CPU and GPU backends, along with extension methods for converting to/from SkiaSharp and Xamarin.Forms types. Currently available for iOS, Android, UWP, macOS (preview) and Tizen (preview).
Significant Changes
- Added Tizen OS support (preview)
- Now based on Xamarin.Forms v2.5.0.280555
Changes
- Dropped support for PCL (now using .NET Standard 1.3 everywhere)
ISKCanvasViewController
is now public so additional platforms can be easily added
Links
HarfBuzzSharp (preview)
HarfBuzz is a text shaping engine, and HarfBuzzSharp exposes some of the functionality to managed .NET applications.
Links
SkiaSharp.HarfBuzz (preview)
Support for text shaping using the HarfBuzz text shaping library. This package adds the SKShaper
type that can shape a string, returning the codepoints and their positions.
This package also adds some extension methods to SKCanvas
to make drawing shaped text easier. These methods include DrawShapedText
and it's overloads.
Links
Linux
Because we love everyone in the Linux world just as well as the Microsoft and the Xamarin worlds, we have also included some pre-built Linux native binaries.
The system that was used to build these binaries was: "Ubuntu 14.04 amd64".
All the Linux binaries for this version of SkiaSharp can be downloaded in the "Assets" links.
Samples
A few new samples were added to demonstrate some new features. In addition to new samples, the samples have now been split into two categories: Basic and Gallery. The Basic samples are minimal and contain the bare bones to get started. The Gallery samples showcase some cool features of SkiaSharp.
All the samples that have been built and tested for this version of SkiaSharp can be downloaded in the "Assets" links.