Skip to content
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

Add the rest of the color filters #128

Open
wants to merge 4 commits into
base: skiasharp
Choose a base branch
from
Open

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

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