EmbroidePy / pyembroidery

pyembroidery library for reading and writing a variety of embroidery formats.
MIT License
195 stars 35 forks source link

Added ROUND param, fixes edge bug #44

Closed tatarize closed 5 years ago

tatarize commented 5 years ago

By an oddity the round-at-the-half bug for elements really close to the limit could be coaxed into the correct length, but any rounding by the writers would cause them to malfunction there instead. So a parameter round was added to coax the values into integer positions at the encoding.