@@ -3865,6 +3865,44 @@ internal static sk_colorfilter_t sk_colorfilter_new_high_contrast (SKHighContras
3865
3865
(sk_colorfilter_new_high_contrast_delegate ??= GetSymbol<Delegates.sk_colorfilter_new_high_contrast> ("sk_colorfilter_new_high_contrast")).Invoke (config);
3866
3866
#endif
3867
3867
3868
+ // sk_colorfilter_t* sk_colorfilter_new_hsla_matrix(const float[20] array = 20)
3869
+ #if !USE_DELEGATES
3870
+ #if USE_LIBRARY_IMPORT
3871
+ [LibraryImport (SKIA)]
3872
+ internal static partial sk_colorfilter_t sk_colorfilter_new_hsla_matrix (Single* array);
3873
+ #else // !USE_LIBRARY_IMPORT
3874
+ [DllImport (SKIA, CallingConvention = CallingConvention.Cdecl)]
3875
+ internal static extern sk_colorfilter_t sk_colorfilter_new_hsla_matrix (Single* array);
3876
+ #endif
3877
+ #else
3878
+ private partial class Delegates {
3879
+ [UnmanagedFunctionPointer (CallingConvention.Cdecl)]
3880
+ internal delegate sk_colorfilter_t sk_colorfilter_new_hsla_matrix (Single* array);
3881
+ }
3882
+ private static Delegates.sk_colorfilter_new_hsla_matrix sk_colorfilter_new_hsla_matrix_delegate;
3883
+ internal static sk_colorfilter_t sk_colorfilter_new_hsla_matrix (Single* array) =>
3884
+ (sk_colorfilter_new_hsla_matrix_delegate ??= GetSymbol<Delegates.sk_colorfilter_new_hsla_matrix> ("sk_colorfilter_new_hsla_matrix")).Invoke (array);
3885
+ #endif
3886
+
3887
+ // sk_colorfilter_t* sk_colorfilter_new_lerp(float weight, sk_colorfilter_t* filter0, sk_colorfilter_t* filter1)
3888
+ #if !USE_DELEGATES
3889
+ #if USE_LIBRARY_IMPORT
3890
+ [LibraryImport (SKIA)]
3891
+ internal static partial sk_colorfilter_t sk_colorfilter_new_lerp (Single weight, sk_colorfilter_t filter0, sk_colorfilter_t filter1);
3892
+ #else // !USE_LIBRARY_IMPORT
3893
+ [DllImport (SKIA, CallingConvention = CallingConvention.Cdecl)]
3894
+ internal static extern sk_colorfilter_t sk_colorfilter_new_lerp (Single weight, sk_colorfilter_t filter0, sk_colorfilter_t filter1);
3895
+ #endif
3896
+ #else
3897
+ private partial class Delegates {
3898
+ [UnmanagedFunctionPointer (CallingConvention.Cdecl)]
3899
+ internal delegate sk_colorfilter_t sk_colorfilter_new_lerp (Single weight, sk_colorfilter_t filter0, sk_colorfilter_t filter1);
3900
+ }
3901
+ private static Delegates.sk_colorfilter_new_lerp sk_colorfilter_new_lerp_delegate;
3902
+ internal static sk_colorfilter_t sk_colorfilter_new_lerp (Single weight, sk_colorfilter_t filter0, sk_colorfilter_t filter1) =>
3903
+ (sk_colorfilter_new_lerp_delegate ??= GetSymbol<Delegates.sk_colorfilter_new_lerp> ("sk_colorfilter_new_lerp")).Invoke (weight, filter0, filter1);
3904
+ #endif
3905
+
3868
3906
// sk_colorfilter_t* sk_colorfilter_new_lighting(sk_color_t mul, sk_color_t add)
3869
3907
#if !USE_DELEGATES
3870
3908
#if USE_LIBRARY_IMPORT
@@ -3884,6 +3922,25 @@ internal static sk_colorfilter_t sk_colorfilter_new_lighting (UInt32 mul, UInt32
3884
3922
(sk_colorfilter_new_lighting_delegate ??= GetSymbol<Delegates.sk_colorfilter_new_lighting> ("sk_colorfilter_new_lighting")).Invoke (mul, add);
3885
3923
#endif
3886
3924
3925
+ // sk_colorfilter_t* sk_colorfilter_new_linear_to_srgb_gamma()
3926
+ #if !USE_DELEGATES
3927
+ #if USE_LIBRARY_IMPORT
3928
+ [LibraryImport (SKIA)]
3929
+ internal static partial sk_colorfilter_t sk_colorfilter_new_linear_to_srgb_gamma ();
3930
+ #else // !USE_LIBRARY_IMPORT
3931
+ [DllImport (SKIA, CallingConvention = CallingConvention.Cdecl)]
3932
+ internal static extern sk_colorfilter_t sk_colorfilter_new_linear_to_srgb_gamma ();
3933
+ #endif
3934
+ #else
3935
+ private partial class Delegates {
3936
+ [UnmanagedFunctionPointer (CallingConvention.Cdecl)]
3937
+ internal delegate sk_colorfilter_t sk_colorfilter_new_linear_to_srgb_gamma ();
3938
+ }
3939
+ private static Delegates.sk_colorfilter_new_linear_to_srgb_gamma sk_colorfilter_new_linear_to_srgb_gamma_delegate;
3940
+ internal static sk_colorfilter_t sk_colorfilter_new_linear_to_srgb_gamma () =>
3941
+ (sk_colorfilter_new_linear_to_srgb_gamma_delegate ??= GetSymbol<Delegates.sk_colorfilter_new_linear_to_srgb_gamma> ("sk_colorfilter_new_linear_to_srgb_gamma")).Invoke ();
3942
+ #endif
3943
+
3887
3944
// sk_colorfilter_t* sk_colorfilter_new_luma_color()
3888
3945
#if !USE_DELEGATES
3889
3946
#if USE_LIBRARY_IMPORT
@@ -3922,6 +3979,25 @@ internal static sk_colorfilter_t sk_colorfilter_new_mode (UInt32 c, SKBlendMode
3922
3979
(sk_colorfilter_new_mode_delegate ??= GetSymbol<Delegates.sk_colorfilter_new_mode> ("sk_colorfilter_new_mode")).Invoke (c, mode);
3923
3980
#endif
3924
3981
3982
+ // sk_colorfilter_t* sk_colorfilter_new_srgb_to_linear_gamma()
3983
+ #if !USE_DELEGATES
3984
+ #if USE_LIBRARY_IMPORT
3985
+ [LibraryImport (SKIA)]
3986
+ internal static partial sk_colorfilter_t sk_colorfilter_new_srgb_to_linear_gamma ();
3987
+ #else // !USE_LIBRARY_IMPORT
3988
+ [DllImport (SKIA, CallingConvention = CallingConvention.Cdecl)]
3989
+ internal static extern sk_colorfilter_t sk_colorfilter_new_srgb_to_linear_gamma ();
3990
+ #endif
3991
+ #else
3992
+ private partial class Delegates {
3993
+ [UnmanagedFunctionPointer (CallingConvention.Cdecl)]
3994
+ internal delegate sk_colorfilter_t sk_colorfilter_new_srgb_to_linear_gamma ();
3995
+ }
3996
+ private static Delegates.sk_colorfilter_new_srgb_to_linear_gamma sk_colorfilter_new_srgb_to_linear_gamma_delegate;
3997
+ internal static sk_colorfilter_t sk_colorfilter_new_srgb_to_linear_gamma () =>
3998
+ (sk_colorfilter_new_srgb_to_linear_gamma_delegate ??= GetSymbol<Delegates.sk_colorfilter_new_srgb_to_linear_gamma> ("sk_colorfilter_new_srgb_to_linear_gamma")).Invoke ();
3999
+ #endif
4000
+
3925
4001
// sk_colorfilter_t* sk_colorfilter_new_table(const uint8_t[256] table = 256)
3926
4002
#if !USE_DELEGATES
3927
4003
#if USE_LIBRARY_IMPORT
0 commit comments