-
Notifications
You must be signed in to change notification settings - Fork 622
Speckles in the canvas #815
Copy link
Copy link
Closed
Labels
Description
I have an SKContol in a Windows Form. After drawing the bitmap to the canvas and Invalidating the control, I am often seeing speckles in the image similar to this:
This happens on the PaintSurfaceEvent. I also see these random speckles when drawing an empty bitmap to the canvas. Here is the code I use to draw to the bitmap to the canvas in the paint event:
Dim canvas As SKCanvas = e.Surface.Canvas
canvas.Clear(SKColors.White)
Dim bitmap As New SKBitmap(e.Info.Rect.Width, e.Info.Rect.Height)
canvas.DrawBitmap(bitmap, 0, 0)
I can also verify that the speckles also appear on Android device too, not just windows.
Is there a work around to get rid of this, or is this a problem with drawing?
Reactions are currently unavailable
