-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use
peniko::Color
with swash_render
Just make our own `ColorBrush` struct and use `image::Rgba` rather than pulling in Peniko and doing extra conversions. This will also simplify things when Peniko is updated and gets the new color code.
- Loading branch information
1 parent
63856dc
commit d803ffb
Showing
3 changed files
with
28 additions
and
17 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters