Esempio n. 1
0
            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));
            }
Esempio n. 2
0
            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));
            }
Esempio n. 3
0
            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));
            }