private static SKImage RotationFuncSK(ImageBlock ib) { int usemodulo = ib.Rotation; SKImage UseImageA = ib._RotationImagesSK[MathHelper.mod(usemodulo, ib._RotationImagesSK.Length)]; return(UseImageA); }
private static Image RotationFunc(ImageBlock ib) { SKImage result = RotationFuncSK(ib); return(SkiaSharp.Views.Desktop.Extensions.ToBitmap(result)); }