EtheaDev / SVGIconImageList

Three engines to render SVG (Delphi Image32, Skia4Delphi, Direct2D wrapper) and four components to simplify use of SVG images (resize, fixedcolor, grayscale...)
Apache License 2.0
327 stars 96 forks source link

Rotate does not work properly with renderer and viewbox #261

Closed ase379 closed 1 year ago

ase379 commented 1 year ago

When I use the image attached, it looks fine in the web. But on a Canvas, the image is not rotates

Web: b

Image

image

I debugged it an it seems, as if the viewport is not rotated. The same for the width and the height. I now intercepted the width and height, but its quity hacky. I did not find a solution for the viewport now. Can you fix this ?

carloBarazzetta commented 1 year ago

It's a question for Angus Johnson, the author of Image32 engine.