Scribus
Open source desktop publishing at your fingertips
LensItem Class Reference
Inheritance diagram for LensItem:
Collaboration diagram for LensItem:

Public Member Functions

 LensItem (QRectF geom, LensDialog *parent)
 
void setStrength (double s)
 
void updateEffect ()
 
QPainterPath lensDeform (const QPainterPath &source, const QPointF &offset, double m_radius, double s)
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *item, QWidget *widget)
 

Public Attributes

double strength
 
double scaling
 
int handle
 
QPointF mousePoint
 

Protected Member Functions

QVariant itemChange (GraphicsItemChange change, const QVariant &value)
 
void mousePressEvent (QGraphicsSceneMouseEvent *event)
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)
 
void hoverEnterEvent (QGraphicsSceneHoverEvent *event)
 
void hoverMoveEvent (QGraphicsSceneHoverEvent *event)
 
void hoverLeaveEvent (QGraphicsSceneHoverEvent *)
 

Protected Attributes

LensDialogdialog
 

The documentation for this class was generated from the following files: