Exemplo n.º 1
0
 public static bool ConvertPrimariesToXyzD50(SKColorSpacePrimaries primaries, SKMatrix44 toXyzD50)
 {
     if (toXyzD50 == null)
     {
         throw new ArgumentNullException(nameof(toXyzD50));
     }
     return(SkiaApi.sk_colorspaceprimaries_to_xyzd50(ref primaries, toXyzD50.Handle));
 }
Exemplo n.º 2
0
        public static SKMatrix44 ConvertPrimariesToXyzD50(SKColorSpacePrimaries primaries)
        {
            var xyzD50 = new SKMatrix44();

            if (!ConvertPrimariesToXyzD50(primaries, xyzD50))
            {
                xyzD50.Dispose();
                xyzD50 = null;
            }
            return(xyzD50);
        }
Exemplo n.º 3
0
 public static SKMatrix44 ConvertPrimariesToXyzD50(SKColorSpacePrimaries primaries)
 {
     return(primaries.ToXyzD50());
 }
Exemplo n.º 4
0
 public static bool ConvertPrimariesToXyzD50(SKColorSpacePrimaries primaries, SKMatrix44 toXyzD50)
 {
     return(primaries.ToXyzD50(toXyzD50));
 }