15#include <klocalizedstring.h>
105 for (
uint i = 0; i < shapeCount; ++i) {
111 for (
uint i = 0; i < clipPathCount; ++i) {
127 for (
uint i = 0; i < shapeCount; ++i) {
133 for (
uint i = 0; i < clipPathCount; ++i) {
void setText(const KUndo2MagicString &text)
Clip path used to clip shapes.
QList< KoPathShape * > clipPathShapes() const
Returns the clip path shapes.
QTransform clipDataTransformation(KoShape *clippedShape) const
The position of a path point within a path shape.
QList< KoPathShape * > clipPathShapes
Private(KoShapeControllerBase *c)
QList< KoShape * > shapesToUnclip
QList< KoClipPath * > oldClipPaths
void createClipPathShapes()
QList< KoShapeContainer * > clipPathParents
KoShapeControllerBase * controller
KoShapeUnclipCommand(KoShapeControllerBase *controller, const QList< KoShape * > &shapes, KUndo2Command *parent=0)
~KoShapeUnclipCommand() override
Destroys the command.
void redo() override
redo the command
void undo() override
revert the actions done in redo
void setZIndex(qint16 zIndex)
void applyAbsoluteTransformation(const QTransform &matrix)
KoClipPath * clipPath() const
Returns the currently set clip path or 0 if there is no clip path set.
KoShapeContainer * parent() const
virtual KoShape * cloneShape() const
creates a deep copy of the shape or shape's subtree
#define KIS_SAFE_ASSERT_RECOVER(cond)
KUndo2MagicString kundo2_i18n(const char *text)