Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_layer.h
Context not available. | |||||
224 | */ | 224 | */ | ||
---|---|---|---|---|---|
225 | void updateClones(const QRect &rect); | 225 | void updateClones(const QRect &rect); | ||
226 | 226 | | |||
227 | /** | ||||
228 | * Informs this layers that its masks might have changed. | ||||
229 | */ | ||||
230 | void notifyChildMaskChanged(KisNodeSP changedChildMask); | ||||
231 | | ||||
227 | public: | 232 | public: | ||
228 | qint32 x() const override; | 233 | qint32 x() const override; | ||
229 | qint32 y() const override; | 234 | qint32 y() const override; | ||
Context not available. | |||||
256 | /** | 261 | /** | ||
257 | * @return the list of effect masks | 262 | * @return the list of effect masks | ||
258 | */ | 263 | */ | ||
259 | QList<KisEffectMaskSP> effectMasks(KisNodeSP lastNode = KisNodeSP()) const; | 264 | const QList<KisEffectMaskSP> &effectMasks() const; | ||
265 | | ||||
266 | /** | ||||
267 | * @return the list of effect masks up to a certain node | ||||
268 | */ | ||||
269 | QList<KisEffectMaskSP> effectMasks(KisNodeSP lastNode) const; | ||||
260 | 270 | | |||
261 | /** | 271 | /** | ||
262 | * Get the group layer that contains this layer. | 272 | * Get the group layer that contains this layer. | ||
Context not available. | |||||
272 | // override from KisNode | 282 | // override from KisNode | ||
273 | QRect changeRect(const QRect &rect, PositionToFilthy pos = N_FILTHY) const override; | 283 | QRect changeRect(const QRect &rect, PositionToFilthy pos = N_FILTHY) const override; | ||
274 | 284 | | |||
285 | void childNodeChanged(KisNodeSP changedChildNode) override; | ||||
286 | | ||||
275 | protected: | 287 | protected: | ||
276 | 288 | | |||
277 | /** | 289 | /** | ||
Context not available. | |||||
371 | KisNodeSP filthyNode, KisNodeSP lastNode) const; | 383 | KisNodeSP filthyNode, KisNodeSP lastNode) const; | ||
372 | 384 | | |||
373 | bool canMergeAndKeepBlendOptions(KisLayerSP otherLayer); | 385 | bool canMergeAndKeepBlendOptions(KisLayerSP otherLayer); | ||
386 | | ||||
387 | void updateSelectionMask(); | ||||
388 | | ||||
389 | void updateEffectMasks(); | ||||
390 | | ||||
391 | QList<KisEffectMaskSP> searchEffectMasks(KisNodeSP lastNode) const; | ||||
392 | | ||||
374 | private: | 393 | private: | ||
375 | friend class KisLayerProjectionPlane; | 394 | friend class KisLayerProjectionPlane; | ||
376 | friend class KisTransformMask; | 395 | friend class KisTransformMask; | ||
Context not available. |