|
Krita Source Code Documentation
|
#include <kis_mask_projection_plane.h>
Inheritance diagram for KisMaskProjectionPlane:Classes | |
| struct | Private |
Public Member Functions | |
| QRect | accessRect (const QRect &rect, KisNode::PositionToFilthy pos) const override |
| void | apply (KisPainter *painter, const QRect &rect) override |
| QRect | changeRect (const QRect &rect, KisNode::PositionToFilthy pos) const override |
| KisPaintDeviceList | getLodCapableDevices () const override |
| KisMaskProjectionPlane (KisMask *mask) | |
| QRect | looseUserVisibleBounds () const override |
| QRect | needRect (const QRect &rect, KisNode::PositionToFilthy pos) const override |
| QRect | needRectForOriginal (const QRect &rect) const override |
| QRect | recalculate (const QRect &rect, KisNodeSP filthyNode, KisRenderPassFlags flags) override |
| QRect | tightUserVisibleBounds () const override |
| ~KisMaskProjectionPlane () override | |
Public Member Functions inherited from KisAbstractProjectionPlane | |
| KisAbstractProjectionPlane () | |
| virtual | ~KisAbstractProjectionPlane () |
Private Attributes | |
| const QScopedPointer< Private > | m_d |
An implementation of the KisAbstractProjectionPlane interface for a layer object.
Please note that recalculate() and apply() methods are not defined for masks, because the KisLayer code still uses traditional methods of KisMask directly.
Definition at line 22 of file kis_mask_projection_plane.h.
| KisMaskProjectionPlane::KisMaskProjectionPlane | ( | KisMask * | mask | ) |
Definition at line 21 of file kis_mask_projection_plane.cpp.
References m_d.
|
override |
Definition at line 27 of file kis_mask_projection_plane.cpp.
|
overridevirtual |
Works like KisNode::needRect(), but includes more transformations of the layer
Implements KisAbstractProjectionPlane.
Definition at line 65 of file kis_mask_projection_plane.cpp.
References m_d.
|
overridevirtual |
Writes the data of the projection plane onto a global projection using painter object.
Implements KisAbstractProjectionPlane.
Definition at line 41 of file kis_mask_projection_plane.cpp.
References KIS_ASSERT_RECOVER_NOOP.
|
overridevirtual |
Works like KisNode::changeRect(), but includes more transformations of the layer
Implements KisAbstractProjectionPlane.
Definition at line 60 of file kis_mask_projection_plane.cpp.
References m_d.
|
overridevirtual |
Returns a list of devices which should synchronize the lod cache on update
Implements KisAbstractProjectionPlane.
Definition at line 49 of file kis_mask_projection_plane.cpp.
|
overridevirtual |
Return an approximate (loose) rectangle, where the contents of the plane is placed from user's point of view. It includes everything belonging to the plane (e.g. layer styles).
This rectangle contains or is bigger than the rectangle returned by tightUserVisibleBounds().
Implements KisAbstractProjectionPlane.
Definition at line 82 of file kis_mask_projection_plane.cpp.
References m_d.
|
overridevirtual |
Works like KisNode::needRect(), but includes more transformations of the layer
Implements KisAbstractProjectionPlane.
Definition at line 55 of file kis_mask_projection_plane.cpp.
References m_d.
|
overridevirtual |
Works like KisLayer::needRectForOriginal(), but includes needed rects of layer styles
Implements KisAbstractProjectionPlane.
Definition at line 70 of file kis_mask_projection_plane.cpp.
|
overridevirtual |
Is called by the async merger when the node is filthy and should recalculate its internal representation. For usual layers it means just calling updateProjection().
Implements KisAbstractProjectionPlane.
Definition at line 31 of file kis_mask_projection_plane.cpp.
References KIS_ASSERT_RECOVER_NOOP.
|
overridevirtual |
Return a tight rectangle, where the contents of the plane is placed from user's point of view. It includes everything belonging to the plane (e.g. layer styles).
Implements KisAbstractProjectionPlane.
Definition at line 75 of file kis_mask_projection_plane.cpp.
References m_d.
|
private |
Definition at line 42 of file kis_mask_projection_plane.h.