-
Notifications
You must be signed in to change notification settings - Fork 726
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
slideshow: animation color: improving color substitution
Since color animation implementation is based on substituting the original color with a new one, some pixel could be missed since they don't match the original color because of anti-aliasing. This new implementation improves this issue by checking the distance btw the current pixel color and the color segment in the RGBA space with end points the line color and the fill color. Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com> Change-Id: I14831553e3eae1a5510bfa855a3e9375b4e3de94
- Loading branch information
1 parent
9073b75
commit 5e8fced
Showing
5 changed files
with
73 additions
and
27 deletions.
There are no files selected for viewing
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
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
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