I have a small app on Mac using SkiaSharp for drawing on a canvas and I am rendering it using SKGLView. My SKGLView instance is a subview of some NSView.
I am trying to print my drawing as follows:
NSPrintInfo pInfo = new NSPrintInfo();
NSPrintOperation p = NSPrintOperation.FromView(this.glview, pInfo);
this.glview is the SKGLView.
This code is printing an empty page.
How should I print my SKGLView properly?
Thanks a lot