Closed flxzt closed 2 years ago
@derekdreery you did the initial implementation of draw_image
for piet-svg
in #475. Does this fix here look reasonable to you?
Sort answer: yes.
Longer answer: I can't remember all the details of my implementation, but this PR certainly looks reasonable. Let's merge it and if there are issues they'll surface as people use the lib. Sorry I don't have more time to look at it more thoroughly.
Unless I misread how piet works, I think there was a missing apply of the transform and clip path when drawing an image. This should fix it. :)