krita
KisPaintOp Class Reference
List of all members.Detailed Description
Definition at line 62 of file kis_paintop.h.
Public Member Functions | |
KisPaintOp (KisPainter *painter) | |
virtual | ~KisPaintOp () |
virtual void | paintAt (const KisPoint &pos, const KisPaintInformation &info)=0 |
void | setSource (KisPaintDeviceSP p) |
virtual bool | incremental () |
Protected Member Functions | |
virtual KisPaintDeviceSP | computeDab (KisAlphaMaskSP mask) |
virtual KisPaintDeviceSP | computeDab (KisAlphaMaskSP mask, KisColorSpace *cs) |
virtual void | splitCoordinate (double coordinate, Q_INT32 *whole, double *fraction) |
Protected Attributes | |
KisPainter * | m_painter |
KisPaintDeviceSP | m_source |
Member Function Documentation
virtual bool KisPaintOp::incremental | ( | ) | [inline, virtual] |
Whether this paintop wants to deposit paint even when not moving, i.e.
the tool needs to activate its timer.
Definition at line 77 of file kis_paintop.h.
void KisPaintOp::splitCoordinate | ( | double | coordinate, | |
Q_INT32 * | whole, | |||
double * | fraction | |||
) | [protected, virtual] |
Split the coordinate into whole + fraction, where fraction is always >= 0.
Definition at line 91 of file kis_paintop.cc.
The documentation for this class was generated from the following files: