20 #ifndef IMAGE_COMPOSER_CUT_OPERATOR_HEADER
21 #define IMAGE_COMPOSER_CUT_OPERATOR_HEADER
36 static QString
Type() {
return "cut"; }
38 virtual QString
name()
const;
42 const QVariant& theObj2 )
const;
43 virtual void drawResult( QPainter& thePainter,
const QVariant& theObj1,
44 const QVariant& theObj2 )
const;
#define IMAGE_COMPOSER_API
Definition: ImageComposer.h:27
Implementation of the cutting operator.
Definition: ImageComposer_CutOperator.h:31
static QString Type()
Definition: ImageComposer_CutOperator.h:36
Implementation of the base abstract operation for image composing.
Definition: ImageComposer_Operator.h:41
virtual QRectF calcResultBoundingRect(const QVariant &theObj1, const QVariant &theObj2) const =0
Calculate bounding rectangle for the result image.
virtual QString name() const =0
Return name of the operator.
virtual void drawResult(QPainter &thePainter, const QVariant &theObj1, const QVariant &theObj2) const =0
Draw result image using the given painter.