Lines Matching defs:layer
19 * Check to see if the current layer is both unhidden and unlocked. If not,
24 * \return true if the current layer is both unhidden and unlocked, otherwise false.
29 SPItem const *layer = SP_ITEM(desktop->currentLayer());
31 if ( !layer || desktop->itemIsHidden(layer) ) {
33 _("<b>Current layer is hidden</b>. Unhide it to be able to draw on it."));
37 if ( !layer || layer->isLocked() ) {
39 _("<b>Current layer is locked</b>. Unlock it to be able to draw on it."));
48 * Check to see if the current layer is both unhidden and unlocked. If not,
53 * \return true if the current layer is both unhidden and unlocked, otherwise false.
58 SPItem const *layer = SP_ITEM(desktop->currentLayer());
60 if ( !layer || desktop->itemIsHidden(layer) ) {
62 _("<b>Current layer is hidden</b>. Unhide it to be able to draw on it."));
66 if ( !layer || layer->isLocked() ) {
68 _("<b>Current layer is locked</b>. Unlock it to be able to draw on it."));