We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mul_alpha
multiply_alpha
This would make it match the API in Peniko, not just for color but brushes and gradients. Otherwise, Vello might end up with code like:
skrifa::color::Brush::Solid { palette_index, alpha, } => color_index(cpal, palette_index) .map(|it| Brush::Solid(it.mul_alpha(alpha))) .unwrap_or(foreground_brush.to_owned().multiply_alpha(alpha)),
The text was updated successfully, but these errors were encountered:
Rename mul_alpha to multiply_alpha
de1a25e
This better fits with the naming scheme in other Linebender crates. Fixes #62.
ed24651
6c47b12
Successfully merging a pull request may close this issue.
This would make it match the API in Peniko, not just for color but brushes and gradients. Otherwise, Vello might end up with code like:
The text was updated successfully, but these errors were encountered: