Kozea / CairoSVG

Convert your vector images
https://courtbouillon.org/cairosvg
GNU Lesser General Public License v3.0
754 stars 149 forks source link

Math optimizations #397

Closed eumiro closed 1 year ago

eumiro commented 1 year ago

A few math optimizations:

  1. Use integers where appropriate (floats were needed in Python2)
  2. Introduce math.* methods where useful
  3. Simplify a few conditions
liZe commented 1 year ago

Thank you!