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

Icon Rotation Clips Images #3

Open
teddyrendahl opened this issue Apr 2, 2019 · 0 comments
Open

Icon Rotation Clips Images #3

teddyrendahl opened this issue Apr 2, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@teddyrendahl
Copy link
Contributor

Icon rotation has the potential to clip images. For example:

from pcdswidgets.icons import PiraniGaugeSymbolIcon
icon = PiraniGaugeSymbolIcon()
icon.rotation = 15
icon.show()

produces:
Screen Shot 2019-04-01 at 8 34 32 PM

I think that we can figure something out in this block, where we set the center / scaling.

painter.translate(w / 2.0, h / 2.0)

@teddyrendahl teddyrendahl added the bug Something isn't working label Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant