-
Notifications
You must be signed in to change notification settings - Fork 475
[svgPathPen] Improve writing out numbers #3547
8000 New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Currently:
generates output using integers only:
As soon as I set any
And if I set non-default location, I get multiple unnecessary digits of float:
That's clearly not ideal. Before I committed (accidentally actually) the following change: 42d6b6b but it was reverted. Cosimo wanted me to update the callsites, not change default behavior. I realized now that I didn't actually change the default behavior of the pen, just the cmdline tool. And I still think that was the correct change. CORRECTION: I had changed the pen default. But I also propose adding a new named argument to the pen to Do The Right Thing, without each client having to write this lambda. |
See:
#3543 (comment)
The text was updated successfully, but these errors were encountered: