|
Krita Source Code Documentation
|
#include <kis_default_bounds.h>
Inheritance diagram for KisMaskDefaultBounds:Public Member Functions | |
| KisMaskDefaultBounds (KisNodeSP parentNode) | |
| ~KisMaskDefaultBounds () override | |
Public Member Functions inherited from KisSelectionDefaultBoundsBase | |
| QRect | bounds () const override |
| int | currentLevelOfDetail () const override |
| int | currentTime () const override |
| bool | externalFrameActive () const override |
| QRect | imageBorderRect () const override |
| KisSelectionDefaultBoundsBase () | |
| void * | sourceCookie () const override |
| bool | wrapAroundMode () const override |
| WrapAroundAxis | wrapAroundModeAxis () const override |
| ~KisSelectionDefaultBoundsBase () override | |
Public Member Functions inherited from KisDefaultBoundsBase | |
| virtual | ~KisDefaultBoundsBase () |
Public Member Functions inherited from KisShared | |
| bool | deref () |
| bool | ref () |
| int | refCount () |
| QAtomicInt * | sharedWeakReference () |
Protected Member Functions | |
| virtual KisPaintDeviceSP | parentPaintDevice () const override |
Protected Member Functions inherited from KisShared | |
| KisShared () | |
| ~KisShared () | |
Private Attributes | |
| KisNodeWSP | m_parentNode |
KisMaskDefaultBounds is used to attach a selection of a mask to the origin() of the parent layer. We cannot connect it directly to parent->origin(), because in some cases the origin() of the parent layer may change randomly (e.g. the origin() of a group layer may change due to the oblige child mechanism).
Definition at line 111 of file kis_default_bounds.h.
| KisMaskDefaultBounds::KisMaskDefaultBounds | ( | KisNodeSP | parentNode | ) |
Definition at line 177 of file kis_default_bounds.cpp.
|
override |
Definition at line 182 of file kis_default_bounds.cpp.
|
overrideprotectedvirtual |
Return the actual paint device the selection is attached to
Implements KisSelectionDefaultBoundsBase.
Definition at line 186 of file kis_default_bounds.cpp.
References m_parentNode, and KisBaseNode::original().
|
private |
Definition at line 122 of file kis_default_bounds.h.