Example #1
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)));
 }
Example #2
0
 public static SKColorSpace CreateRgb(SKColorSpaceRenderTargetGamma gamma, SKColorSpaceGamut gamut, SKColorSpaceFlags flags = 0)
 {
     return(GetObject <SKColorSpace> (SkiaApi.sk_colorspace_new_rgb_with_gamma_and_gamut(gamma, gamut, flags)));
 }
Example #3
0
 public static SKColorSpace CreateRgb(SKColorSpaceTransferFn coeffs, SKColorSpaceGamut gamut) =>
 GetObject(SkiaApi.sk_colorspace_new_rgb_with_coeffs_and_gamut(&coeffs, gamut));
Example #4
0
 public static SKColorSpace CreateRgb(SKColorSpaceRenderTargetGamma gamma, SKColorSpaceGamut gamut) =>
 GetObject(SkiaApi.sk_colorspace_new_rgb_with_gamma_and_gamut(gamma, gamut));
Example #5
0
 public static SKColorSpace CreateRgb(SKColorSpaceTransferFn coeffs, SKColorSpaceGamut gamut, SKColorSpaceFlags flags) =>
 CreateRgb(coeffs, gamut);
Example #6
0
 public static SKColorSpace CreateRgb(SKColorSpaceRenderTargetGamma gamma, SKColorSpaceGamut gamut, SKColorSpaceFlags flags) =>
 CreateRgb(gamma, gamut);