foundry.core.painter package#

Submodules#

foundry.core.painter.Painter module#

class Painter(image: PySide6.QtGui.QImage | PySide6.QtWidgets.QWidget)#

Bases: object

Creates a context manager for a QPainter to be applied on a QImage.

If no context manger is provided for a QPainter, any error during its life-cycle could result in a crash.

Module contents#