swhitty / SwiftDraw

Swift library and command line tool to convert SVGs into SFSymbol, PNG, PDF and Swift source code.
zlib License
389 stars 49 forks source link

Issue #12 - UIGraphicsImageRenderer should applying scaling #13

Closed swhitty closed 2 years ago

swhitty commented 2 years ago

0.13.0 introduced a regression where images rasterized to UIImage would be scaled twice.

UIGraphicsImageRenderer should apply scale and image should be sized in points (scale 1)

https://github.com/swhitty/SwiftDraw/issues/12

codecov[bot] commented 2 years ago

Codecov Report

Merging #13 (7f8b3cf) into main (599299a) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #13   +/-   ##
=======================================
  Coverage   82.30%   82.30%           
=======================================
  Files          77       77           
  Lines        6901     6901           
=======================================
  Hits         5680     5680           
  Misses       1221     1221           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.