コード例 #1
0
        public void Render(IDrawingContextImpl context)
        {
            var canvas = (context as ISkiaDrawingContextImpl)?.SkCanvas;

            if (canvas is null)
            {
                return;
            }

            canvas.Save();

            PresenterView.Draw(CustomState, canvas);

            canvas.Restore();
        }
コード例 #2
0
 public void Render(IDrawingContextImpl context)
 {
     PresenterView.Draw(CustomState, context);
 }