Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

SkiaSharp SaveLayer / RestoreToCount Examples?

$
0
0

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


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>