documentation/docfx/releases/1.49.3.md
UWP support and canvas clipping · Preview only · NuGet · GitHub Release
A feature-packed beta that brings Windows UWP support, improved canvas clipping APIs, better custom platform support, and important fixes for text encoding and canvas save/restore operations.
None in this release.
<ShouldIncludeNativeSkiaSharp>False</ShouldIncludeNativeSkiaSharp> in your project and manually include a native library named libSkiaSharp.SKCanvas clipping — New overloads for ClipRect and ClipPath that accept SKRegionOperation and antialias parameters, enabling clip region resets. Also added GetClipBounds and GetClipDeviceBounds for querying the current clip.void ClipRect(SKRect rect, SKRegionOperation operation = SKRegionOperation.Intersect, bool antialias = false);
void ClipPath(SKRect rect, SKRegionOperation operation = SKRegionOperation.Intersect, bool antialias = false);
bool GetClipBounds(ref SKRect bounds);
bool GetClipDeviceBounds(ref SKRectI bounds);
SKCanvas.Save / SKCanvas.SaveLayer return values — These methods now correctly return the value from native code.SKPaint.MeasureText, BreakText, GetTextPath, and GetPosTextPath now use the encoding from SKPaint.TextEncoding instead of incorrectly converting to UTF-16, matching the behavior of text drawing operations.| Platform | What's New |
|---|---|
| 🪟 Windows | UWP support added |
| 🐧 Linux | Custom platform mechanism enables unofficial support |