Exemple #1
0
        private static SKImage RotationFuncSK(ImageBlock ib)
        {
            int     usemodulo = ib.Rotation;
            SKImage UseImageA = ib._RotationImagesSK[MathHelper.mod(usemodulo, ib._RotationImagesSK.Length)];

            return(UseImageA);
        }
Exemple #2
0
        private static Image RotationFunc(ImageBlock ib)
        {
            SKImage result = RotationFuncSK(ib);

            return(SkiaSharp.Views.Desktop.Extensions.ToBitmap(result));
        }