Hello,
I am attempting to use SkiaSharp to create a multi-layer drawing and am not getting this working correctly. Are there any examples that show SaveLayer and RestoreToCount being used?
Specifically, I am creating three layers, each of which draws upon the layer below it. At given points in the code I need to erase the work done on a given layer and have been attempting to use RestoreToCount to the previous layer to do this, but for some reason all the work seems to accumulate on a common layer.
A working example of the basics would be greatly appreciated. Or am I fundamentally misunderstanding how SaveLayer / RestoreToCount works?
Best Regards,
Edward