forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibPDF: Implement painting of extensions of radial shadings
I couldn't come up with anything nicer than listing many special cases. On the plus side, this seems to look correct in all cases I tried. I found it pretty easy to get confused and come up with a simplification that in fact broke something. Tests/LibPDF/shade-radial.pdf tests quite a few cases to prevent this. (It's a manual test for now, though.)
- Loading branch information
Showing
1 changed file
with
45 additions
and
2 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