Skip to content

Icon Rotation Clips Images #3

@teddyrendahl

Description

@teddyrendahl

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions