Skip to content

Add the rest of the color filters #128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 27, 2025
Merged

Add the rest of the color filters #128

merged 5 commits into from
Feb 27, 2025

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.

1 participant