Pencil2D
ff90c0872e88be3bf81c548cd60f01983012ec49
Pencil2D is an animation software for both bitmap and vector graphics. It is free, multi-platform, and open source.
|
Public Member Functions | |
EyedropperTool (QObject *parent=0) | |
ToolType | type () override |
void | loadSettings () override |
QCursor | cursor () override |
QCursor | cursor (const QColor colour) |
void | mousePressEvent (QMouseEvent *) override |
void | mouseReleaseEvent (QMouseEvent *) override |
void | mouseMoveEvent (QMouseEvent *) override |
![]() | |
BaseTool (QObject *parent=0) | |
void | initialize (Editor *editor) |
QString | typeName () |
virtual void | mouseDoubleClickEvent (QMouseEvent *) |
virtual bool | keyPressEvent (QKeyEvent *) |
virtual bool | keyReleaseEvent (QKeyEvent *) |
virtual void | startAdjusting (ToolPropertyType argSettingType, qreal argStep) |
virtual void | stopAdjusting () |
virtual void | adjustCursor (qreal argOffsetX, ToolPropertyType type) |
virtual void | adjustPressureSensitiveProperties (qreal pressure, bool mouseDevice) |
virtual void | clear () |
QPixmap | canvasCursor () |
precision circular cursor: used for drawing a cursor within scribble area. More... | |
QPixmap | quickSizeCursor () |
precision circular cursor: used for drawing stroke size while adjusting More... | |
virtual void | setWidth (const qreal width) |
virtual void | setFeather (const qreal feather) |
virtual void | setInvisibility (const bool invisibility) |
virtual void | setBezier (const bool bezier_state) |
virtual void | setPressure (const bool pressure) |
virtual void | setUseFeather (const bool usingFeather) |
virtual void | setPreserveAlpha (const bool preserveAlpha) |
virtual void | setVectorMergeEnabled (const bool vectorMergeEnabled) |
virtual void | setAA (const int useAA) |
virtual void | setInpolLevel (const int level) |
virtual void | setTolerance (const int tolerance) |
virtual void | setUseFillContour (const bool useFillContour) |
virtual void | leavingThisTool () |
virtual void | switchingLayers () |
QPointF | getCurrentPixel () |
QPointF | getCurrentPoint () |
QPointF | getLastPixel () |
QPointF | getLastPoint () |
QPointF | getLastPressPixel () |
QPointF | getLastPressPoint () |
bool | isPropertyEnabled (ToolPropertyType t) |
Additional Inherited Members | |
![]() | |
static QString | TypeName (ToolType) |
![]() | |
Properties | properties |
![]() | |
static ToolPropertyType | assistedSettingType |
static qreal | OriginalSettingValue |
static bool | isAdjusting = false |
![]() | |
Editor * | editor () |
![]() | |
QHash< ToolPropertyType, bool > | m_enabledProperties |
Editor * | mEditor = nullptr |
ScribbleArea * | mScribbleArea = nullptr |
StrokeManager * | m_pStrokeManager = nullptr |
qreal | mAdjustmentStep = 0.0f |
Definition at line 24 of file eyedroppertool.h.