Skip to content

Conversation

@mattleibow
Copy link

@mattleibow mattleibow commented Jun 3, 2024

Description of Change

Add a few more color filters from the C++ API to the C API.

SkiaSharp Issue

Related to mono/SkiaSharp#1775

API Changes

sk_colorfilter_t* sk_colorfilter_new_hsla_matrix(const float array[20]);
sk_colorfilter_t* sk_colorfilter_new_linear_to_srgb_gamma(void);
sk_colorfilter_t* sk_colorfilter_new_srgb_to_linear_gamma(void);
sk_colorfilter_t* sk_colorfilter_new_lerp(float t, sk_colorfilter_t* dst, sk_colorfilter_t* src);

Behavioral Changes

None.

Required SkiaSharp PR

Requires mono/SkiaSharp#2882

PR Checklist

  • Rebased on top of skiasharp at time of PR
  • Changes adhere to coding standard
  • Updated documentation

@mattleibow mattleibow merged commit 848a9a8 into skiasharp Feb 27, 2025
1 check passed
@mattleibow mattleibow deleted the dev/colorfilters branch February 27, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants