Skip to content
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

Optimize label\shape.py #1460

Closed
wants to merge 0 commits into from
Closed

Optimize label\shape.py #1460

wants to merge 0 commits into from

Conversation

PairZhu
Copy link
Contributor

@PairZhu PairZhu commented Jun 18, 2024

Optimized the rendering logic of shapes so that the thickness of shape lines and crosshair remains consistent on the screen regardless of the zoom level.

Additionally, another advantage is that shapes do not become distorted when the x and y axes have different scaling ratios (this is useful in my project, but such a requirement is uncommon, so the related changes have not been uploaded).

@PairZhu PairZhu force-pushed the main branch 2 times, most recently from d5a7002 to 19ca88a Compare June 18, 2024 07:44
@PairZhu
Copy link
Contributor Author

PairZhu commented Jun 18, 2024

The first CI failure doesn't seem to be caused by my code, can you check the cause? @wkentaro

@wkentaro
Copy link
Owner

wkentaro commented Aug 2, 2024

Reopened in #1471

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants