Closed el-hult closed 6 months ago
Hi @AaronErhardt You asked in #345 that we should ping you if the issue goes without notice. Time to take a look at this PR?
I have done what I hope is a quite minimal fix. I have created a unit test and an example that shows the output. Is okay?
@AaronErhardt I did revert a bit of the changes, to make the PR smaller and easier to review. Looks okay now?
Now I can go back to use the main plotters-rs instead of my fork. Thanks a lot!
Bugfix for #562 .
The root cause of the bug was a comparison of floats, but to make sure I got it right, I changed the code away from early returns (that was part of why the bug surfaced) and added some more comments.
This script shows example thick lines with inside and outside corners, and the capping feature.