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
321 stars 93 forks source link

use Clipper2 instead of Clipper as in official Image32 repo #236

Closed birbilis closed 2 years ago

birbilis commented 2 years ago

noticed the Image32 folder contains an older Img32.Clipper.pas instead of Img32.Clipper2.pas. Also not sure where it's pulling the Clipper units from (Image32 ships them in a subfolder). Probably SVGIconImage32 doesn't use the Clipper or that older Clipper didn't need such extra units?

if SVG rendering as used by SVGIconImageList does make use of the Clipper, then Clipper2 is faster from what I understand from its repo at https://github.com/AngusJohnson/Clipper2 - it also included in source/Clipper subfolder at Image32 repo (guess it has the latest, but could have used a subrepo folder instead to point to the Clipper repo to maintain in one place)

birbilis commented 2 years ago

refs: https://github.com/AngusJohnson/Image32/tree/main/source https://github.com/EtheaDev/SVGIconImageList/tree/master/Image32/source

carloBarazzetta commented 2 years ago

Done.