Expression painter:currentmatrix() returns a Qt variant of class qt.QTransform representing the current transformation matrix.