protected override void OnDraw(SKSurface surface, SKImageInfo info) { base.OnDraw(surface, info); // the control is being repainted, let the user know controller.OnPaintSurface(new SKPaintSurfaceEventArgs(surface, info)); }
public override void DrawInSurface(SKSurface surface, SKImageInfo info) { base.DrawInSurface(surface, info); // the control is being repainted, let the user know controller.OnPaintSurface(new SKPaintSurfaceEventArgs(surface, info)); }
protected override void OnPaintSurface(SkiaSharp.Views.UWP.SKPaintSurfaceEventArgs e) { base.OnPaintSurface(e); // the control is being repainted, let the user know controller.OnPaintSurface(new SKPaintSurfaceEventArgs(e.Surface, e.Info)); }