620 self.__updateImageRect(self.__pasteRect.topLeft(), |
620 self.__updateImageRect(self.__pasteRect.topLeft(), |
621 self.__pasteRect.bottomRight() + QPoint(1, 1)) |
621 self.__pasteRect.bottomRight() + QPoint(1, 1)) |
622 |
622 |
623 def __drawTool(self, pos, mark): |
623 def __drawTool(self, pos, mark): |
624 """ |
624 """ |
625 Public method to perform a draw operation depending of the current |
625 Private method to perform a draw operation depending of the current |
626 tool. |
626 tool. |
627 |
627 |
628 @param pos widget coordinate to perform the draw operation at (QPoint) |
628 @param pos widget coordinate to perform the draw operation at (QPoint) |
629 @param mark flag indicating a mark operation (boolean) |
629 @param mark flag indicating a mark operation (boolean) |
630 @return flag indicating a successful draw (boolean) |
630 @return flag indicating a successful draw (boolean) |