Icon rotation has the potential to clip images. For example:
from pcdswidgets.icons import PiraniGaugeSymbolIcon
icon = PiraniGaugeSymbolIcon()
icon.rotation = 15
icon.show()
produces:

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) |
Icon rotation has the potential to clip images. For example:
produces:

I think that we can figure something out in this block, where we set the center / scaling.
pcdswidgets/pcdswidgets/icons/base.py
Line 61 in 6ddd521