예제 #1
0
 public static SKColorSpace CreateRgb(SKColorSpaceTransferFn coeffs, SKMatrix44 toXyzD50, SKColorSpaceFlags flags = 0)
 {
     if (toXyzD50 == null)
     {
         throw new ArgumentNullException(nameof(toXyzD50));
     }
     return(GetObject <SKColorSpace> (SkiaApi.sk_colorspace_new_rgb_with_coeffs(ref coeffs, toXyzD50.Handle, flags)));
 }
예제 #2
0
 public static SKColorSpace CreateRgb(SKColorSpaceTransferFn coeffs, SKColorSpaceGamut gamut, SKColorSpaceFlags flags = 0)
 {
     return(GetObject <SKColorSpace> (SkiaApi.sk_colorspace_new_rgb_with_coeffs_and_gamut(ref coeffs, gamut, flags)));
 }
예제 #3
0
 public static SKColorSpace CreateRgb(SKColorSpaceTransferFn coeffs, SKColorSpaceGamut gamut) =>
 GetObject(SkiaApi.sk_colorspace_new_rgb_with_coeffs_and_gamut(&coeffs, gamut));
예제 #4
0
 public static SKColorSpace CreateRgb(SKColorSpaceTransferFn coeffs, SKColorSpaceGamut gamut, SKColorSpaceFlags flags) =>
 CreateRgb(coeffs, gamut);
예제 #5
0
 public static SKColorSpace CreateRgb(SKColorSpaceTransferFn coeffs, SKMatrix44 toXyzD50, SKColorSpaceFlags flags) =>
 CreateRgb(coeffs, toXyzD50);
예제 #6
0
 public static SKColorSpace CreateRgb(SKColorSpaceTransferFn coeffs, SKMatrix44 toXyzD50)
 {
     if (toXyzD50 == null)
         throw new ArgumentNullException(nameof(toXyzD50)); }