Beispiel #1
0
            public override void DrawInSurface(SKSurface surface, GRBackendRenderTargetDesc renderTarget)
            {
                base.DrawInSurface(surface, renderTarget);

                // the control is being repainted, let the user know
                controller.OnPaintSurface(new SKPaintGLSurfaceEventArgs(surface, renderTarget));
            }
Beispiel #2
0
            protected override void OnPaintSurface(SkiaSharp.Views.UWP.SKPaintGLSurfaceEventArgs e)
            {
                base.OnPaintSurface(e);

                controller.OnPaintSurface(new SKPaintGLSurfaceEventArgs(e.Surface, e.RenderTarget));
            }
Beispiel #3
0
 public void OnDrawFrame(SKSurface surface, GRBackendRenderTargetDesc renderTarget)
 {
     controller.OnPaintSurface(new SKPaintGLSurfaceEventArgs(surface, renderTarget));
 }