-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Bounding boxes for Arc and Sector don't take the angles into account #405
Comments
This is trickier than I first thought so I've unassigned myself if someone else wants to take a look. |
Note: #431 (comment) Remember to fix styled bounding box for arc/sector also. |
Hello, any news about this one? I've seen you've started something on another branch (outdated now) but stopped at some point. I would like to see it fixed as I am currently doing crazy stuff with this crate: https://github.com/cedeber/framebuffer-worker. I could have a look if you'll please update the branch - so that I can fork - and give me some advices where to continue. |
I'd be very happy if someone else wanted to take a look at fixing this. I did a quick skim of my PR and it's so out of date I think it's better to start from scratch, perhaps using that PR as a reference instead of a base to fork from. |
Okey, let's give it a try. |
The
Dimensions
trait impl forArc
andSector
returns the same bounding box as a circle with the sametop_left
anddiameter
. But the bounding box can be much smaller ifangle_sweep
is small.The text was updated successfully, but these errors were encountered: