TextShape.visual_bounding_rect was not taking the text rotation into account. I manually tested drawing the new bounding box on top of the text for various rotations & anchor settings. For example: <img width="191" alt="image" src="https://github.com/user-attachments/assets/56528fc7-7e7d-45af-b92a-c1cd307ff205" /> The unit test I added will fail without this patch, but perhaps doesn't add much value. * [x] I have followed the instructions in the PR template |
||
|---|---|---|
| .. | ||
| benches | ||
| src | ||
| CHANGELOG.md | ||
| Cargo.toml | ||
| README.md | ||
README.md
epaint - egui paint library
A bare-bones 2D graphics library for turning simple 2D shapes and text into textured triangles.
Made for egui.