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

TSVGIconImage: minimal size #214

Closed kazuser closed 2 years ago

kazuser commented 2 years ago

Hi! Thanks for your library!

I have a little problem with pretty simple SVG:

<svg width="32" height="32" xmlns="http://www.w3.org/2000/svg"><path d="m11.17242,11.17242l9.65516,9.65516" stroke-width="0.5" stroke="#000"/><path transform="rotate(90 16 16)" d="m11.17242,11.17242l9.65516,9.65516" stroke-width="0.5" stroke="#000"/></svg>

close

Edge: image

Delphi: resize

Is there any way to change the minimum allowed size?

carloBarazzetta commented 2 years ago

Yes, it's a problem using default engine "Image32": I've sent to Angus Johnson an email to solve this, please wait for a solution. If you try to use TSVG engine the icon appears correctly but you can have another problems as explained here:

carloBarazzetta commented 2 years ago

Please give me positive feedback if the new committed version solves this problem.

kazuser commented 2 years ago

Thanks a lot, Carlo! Now everything is perfect!

0

p.s. WrapMode = Original