SkiaSharp icon indicating copy to clipboard operation
SkiaSharp copied to clipboard

[BUG] Pixels on the canvas edges does not always get rendered when drawing a path around the canvas

Open aeonblaire opened this issue 3 years ago • 0 comments

Description

Pixels on the canvas edges does not always get rendered when drawing a path around the canvas.

Code

I attached a sample solution for the test codes. EdgePixelsForPath.zip

Expected Behavior

Edge pixels should not get clipped when drawing a path around the canvas.

Actual Behavior

Pixels on the canvas edges does not get rendered when drawing a path around the canvas

Basic Information

  • Version with issue: SkiaSharp.Views.Forms v2.88.2
  • Last known good version: N/A
  • IDE: VS2019
  • Platform Target Frameworks:
    • Android: 11
  • Target Devices:
    • Google Pixel 3 XL

Windows 10 Xamarin 16.11.000.197 (d16-11@6934992) Xamarin Designer 16.11.0.47 (remotes/origin/d16-11@e0d612363) Xamarin Templates 16.10.5 (355b57a) Xamarin.Android SDK 12.0.0.3 (d16-11/f0e3c2d) Xamarin.iOS and Xamarin.Mac SDK 15.2.0.17 (738fde344) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Notice the bottom edge of rectangle marked with "1" and "2" Unrendered edges will vary by changing the number of rows and/or columns. This was not tested on iOS.

Screenshots Screenshot_1663074092

aeonblaire avatar Sep 13 '22 13:09 aeonblaire