Exemplo n.º 1
0
 private void OnPaintSurface(SKCanvas canvas, int width, int height)
 {
     sample?.DrawSample(canvas, width, height);
 }
Exemplo n.º 2
0
 private void OnPaintSample(object sender, SKPaintSurfaceEventArgs e)
 {
     // dar the sample on the canvas
     currentSample?.DrawSample(e.Surface.Canvas, e.Info.Width, e.Info.Height);
 }