示例#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));
            }
            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));
            }
示例#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));
            }