Skip to content

Version 1.60.1

Compare
Choose a tag to compare
@mattleibow mattleibow released this 22 May 00:11
bc6bb32

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

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 and SKGLSurfaceView 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

NuGet

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

NuGet

HarfBuzzSharp (preview)

HarfBuzz is a text shaping engine, and HarfBuzzSharp exposes some of the functionality to managed .NET applications.

Links

NuGet

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

NuGet

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.