Beispiel #1
0
        public static SKMatrix44 ConvertPrimariesToXyzD50(SKColorSpacePrimaries primaries)
        {
            var xyzD50 = new SKMatrix44();

            if (!ConvertPrimariesToXyzD50(primaries, xyzD50))
            {
                xyzD50.Dispose();
                xyzD50 = null;
            }
            return(xyzD50);
        }
Beispiel #2
0
        public SKMatrix44 ToXyzD50()
        {
            var xyzD50 = new SKMatrix44();

            if (!ToXyzD50(xyzD50))
            {
                xyzD50.Dispose();
                xyzD50 = null;
            }
            return(xyzD50);
        }
Beispiel #3
0
        public SKMatrix44 Invert()
        {
            var inverse = new SKMatrix44();

            if (Invert(inverse))
            {
                return(inverse);
            }
            else
            {
                inverse.Dispose();
                return(null);
            }
        }