mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-18 14:35:38 +00:00
Before this, we were filling and stroking every <path>, whether they had a fill/stroke color or not. We can avoid a bunch of unnecessary work by checking if the color is transparent (also the case if unset) before doing the painting work. If there is no fill color, we also avoid making a copy of the path to ensure that it's closed.
1.9 KiB
1.9 KiB