No description
Previously, the endpoint of the line was always moved along in increments of 1 pixel, so that the endpoint would always be rounded down. This could accumulate to give quite large differences from what the program intended. Ensure that "goto" always ends up storing the floating point endpoints and that the line is drawn from the rounded-integer starting coordinate and rounded-integer ending coordinate. This makes the 3 test lines in the OP's "turtle_truncate.txt" example be the same length. Closes: #41 |
||
|---|---|---|
| .github | ||
| docs | ||
| examples | ||
| LICENSES | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .pylintrc | ||
| .readthedocs.yaml | ||
| adafruit_turtle.py | ||
| CODE_OF_CONDUCT.md | ||
| LICENSE | ||
| optional_requirements.txt | ||
| pyproject.toml | ||
| README.rst | ||
| README.rst.license | ||
| requirements.txt | ||
SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries SPDX-License-Identifier: MIT