krita/ui
KisMaskManager Class Reference
Handle the gui for manipulating masks. More...
#include <kis_mask_manager.h>

Public Slots | |
| void | addEffectMask (KisNodeSP parent, KisEffectMaskSP mask) |
| void | createFilterMask () |
| void | createSelectionmask () |
| void | createTransformationMask () |
| void | createTransparencyMask () |
| void | duplicateMask () |
| void | lowerMask () |
| void | maskProperties () |
| void | masksUpdated () |
| void | maskToBottom () |
| void | maskToLayer () |
| void | maskToSelection () |
| void | maskToTop () |
| void | mirrorMaskX () |
| void | mirrorMaskY () |
| void | raiseMask () |
| void | removeMask () |
| void | showMask () |
Signals | |
| void | sigMaskActivated (KisMaskSP mask) |
Public Member Functions | |
| KisMaskManager (KisView2 *view) | |
| ~KisMaskManager () | |
| KisPaintDeviceSP | activeDevice () |
| KisMaskSP | activeMask () |
| void | setup (KActionCollection *actionCollection) |
| void | updateGUI () |
Detailed Description
Handle the gui for manipulating masks.
Definition at line 36 of file kis_mask_manager.h.
Constructor & Destructor Documentation
| KisMaskManager::KisMaskManager | ( | KisView2 * | view | ) |
Definition at line 55 of file kis_mask_manager.cc.
| KisMaskManager::~KisMaskManager | ( | ) | [inline] |
Definition at line 45 of file kis_mask_manager.h.
Member Function Documentation
| KisPaintDeviceSP KisMaskManager::activeDevice | ( | ) |
- Returns:
- the paint device associated with the currently active mask, if there is one.
Definition at line 86 of file kis_mask_manager.cc.
| KisMaskSP KisMaskManager::activeMask | ( | ) |
- Returns:
- the active mask, if there is one
Definition at line 81 of file kis_mask_manager.cc.
| void KisMaskManager::addEffectMask | ( | KisNodeSP | parent, | |
| KisEffectMaskSP | mask | |||
| ) | [slot] |
Add a pre-existing mask to the graph; for instance, a preview mask that has been made definitive.
Definition at line 172 of file kis_mask_manager.cc.
| void KisMaskManager::createFilterMask | ( | ) | [slot] |
Create a new filter mask.
Definition at line 127 of file kis_mask_manager.cc.
| void KisMaskManager::createSelectionmask | ( | ) | [slot] |
Create a local, i.e., per-layer selection object.
Definition at line 149 of file kis_mask_manager.cc.
| void KisMaskManager::createTransformationMask | ( | ) | [slot] |
create a new transformation mask.
If the transform tool is active, get the current transformation and selection and create the mask from that.
Definition at line 138 of file kis_mask_manager.cc.
| void KisMaskManager::createTransparencyMask | ( | ) | [slot] |
Create a new transparency mask.
Definition at line 116 of file kis_mask_manager.cc.
| void KisMaskManager::duplicateMask | ( | ) | [slot] |
Create an exact duplicate of the current mask.
Definition at line 312 of file kis_mask_manager.cc.
| void KisMaskManager::lowerMask | ( | ) | [slot] |
Move the mask one down in the mask stack.
If we reach the bottom of the stack, try to move the mask to the layer beneath the active layer.
Definition at line 475 of file kis_mask_manager.cc.
| void KisMaskManager::maskProperties | ( | ) | [slot] |
Show the mask properties dialog.
Definition at line 387 of file kis_mask_manager.cc.
| void KisMaskManager::masksUpdated | ( | ) | [slot] |
called whenever the mask stack is updated to enable/disable all menu items
Definition at line 102 of file kis_mask_manager.cc.
| void KisMaskManager::maskToBottom | ( | ) | [slot] |
Move the mask to the bottom of the mask stack of the active layer.
Definition at line 489 of file kis_mask_manager.cc.
| void KisMaskManager::maskToLayer | ( | ) | [slot] |
Create a new layer from the current mask.
The user can choose the colorspace of the new layer and which channels should be filled from the mask channel.
Definition at line 273 of file kis_mask_manager.cc.
| void KisMaskManager::maskToSelection | ( | ) | [slot] |
Create a new local selection from the active mask.
Definition at line 256 of file kis_mask_manager.cc.
| void KisMaskManager::maskToTop | ( | ) | [slot] |
Move the mask to the top of the mask stack of the active layer.
Definition at line 482 of file kis_mask_manager.cc.
| void KisMaskManager::mirrorMaskX | ( | ) | [slot] |
Mirror the mask around the X axis.
Definition at line 334 of file kis_mask_manager.cc.
| void KisMaskManager::mirrorMaskY | ( | ) | [slot] |
Mirror the mask around the Y axis.
Definition at line 360 of file kis_mask_manager.cc.
| void KisMaskManager::raiseMask | ( | ) | [slot] |
Move the mask one up in the mask stack.
If we reach the top of the stack, try to move the mask to the layer on top of the active layer.
Definition at line 468 of file kis_mask_manager.cc.
| void KisMaskManager::removeMask | ( | ) | [slot] |
Delete the mask.
Definition at line 324 of file kis_mask_manager.cc.
| void KisMaskManager::setup | ( | KActionCollection * | actionCollection | ) |
Definition at line 64 of file kis_mask_manager.cc.
| void KisMaskManager::showMask | ( | ) | [slot] |
Show the mask as an overlay.
The mask properties determine the color and opacity of the mask.
Definition at line 463 of file kis_mask_manager.cc.
| void KisMaskManager::sigMaskActivated | ( | KisMaskSP | mask | ) | [signal] |
| void KisMaskManager::updateGUI | ( | ) |
Definition at line 75 of file kis_mask_manager.cc.
The documentation for this class was generated from the following files:
