'Set whether the item ignores transformations and draws directly to screen pixels.
If True, the item will not inherit any scale or rotation transformations from its
parent items, but its position will be transformed as usual.
(see GraphicsItem::ItemIgnoresTransformations in the Qt documentation)'

def setPxMode(self, b):

    self.setFlag(self.ItemIgnoresTransformations, b)
