|
Krita Source Code Documentation
|
#include <KoSvgTextAddRemoveShapeCommands.h>
Inheritance diagram for KoSvgTextAddRemoveShapeCommandImpl:Classes | |
| struct | Private |
Public Types | |
| enum | ContourType { Unknown , Inside , Subtract , TextPath } |
Public Types inherited from KisCommandUtils::FlipFlopCommand | |
| enum | State { INITIALIZING , FINALIZING } |
Public Member Functions | |
| KoSvgTextAddRemoveShapeCommandImpl (KoSvgTextShape *textShape, KoShape *shape, ContourType type, State state, int startPos, int endPos, KUndo2Command *parent=nullptr) | |
| void | partA () override |
| void | partB () override |
| ~KoSvgTextAddRemoveShapeCommandImpl () | |
Public Member Functions inherited from KisCommandUtils::FlipFlopCommand | |
| FlipFlopCommand (bool finalizing=false, KUndo2Command *parent=0) | |
| FlipFlopCommand (State initialState, KUndo2Command *parent=0) | |
| void | redo () override |
| void | undo () override |
Public Member Functions inherited from KUndo2Command | |
| QString | actionText () const |
| virtual bool | canAnnihilateWith (const KUndo2Command *other) const |
| const KUndo2Command * | child (int index) const |
| int | childCount () const |
| virtual QTime | endTime () const |
| KUndo2CommandExtraData * | extraData () const |
| bool | hasParent () const |
| virtual int | id () const |
| virtual bool | isMerged () const |
| KUndo2Command (const KUndo2MagicString &text, KUndo2Command *parent=0) | |
| KUndo2Command (KUndo2Command *parent=0) | |
| virtual QVector< KUndo2Command * > | mergeCommandsVector () const |
| virtual bool | mergeWith (const KUndo2Command *other) |
| virtual void | redoMergedCommands () |
| void | setEndTime () |
| virtual void | setEndTime (const QTime &time) |
| void | setExtraData (KUndo2CommandExtraData *data) |
| void | setText (const KUndo2MagicString &text) |
| void | setTime () |
| virtual void | setTime (const QTime &time) |
| virtual void | setTimedID (int timedID) |
| KUndo2MagicString | text () const |
| virtual QTime | time () const |
| virtual int | timedId () const |
| virtual bool | timedMergeWith (KUndo2Command *other) |
| virtual void | undoMergedCommands () |
| virtual | ~KUndo2Command () |
Private Attributes | |
| QScopedPointer< Private > | d |
Additional Inherited Members | |
Protected Member Functions inherited from KisCommandUtils::FlipFlopCommand | |
| State | getState () const |
| bool | isFirstRedo () const |
Definition at line 16 of file KoSvgTextAddRemoveShapeCommands.h.
| Enumerator | |
|---|---|
| Unknown | |
| Inside | |
| Subtract | |
| TextPath | |
Definition at line 19 of file KoSvgTextAddRemoveShapeCommands.h.
| KoSvgTextAddRemoveShapeCommandImpl::KoSvgTextAddRemoveShapeCommandImpl | ( | KoSvgTextShape * | textShape, |
| KoShape * | shape, | ||
| ContourType | type, | ||
| State | state, | ||
| int | startPos, | ||
| int | endPos, | ||
| KUndo2Command * | parent = nullptr ) |
Definition at line 37 of file KoSvgTextAddRemoveShapeCommands.cpp.
References d, KisCommandUtils::FlipFlopCommand::FINALIZING, KoSvgTextShape::findRangeForNodeIndex(), Inside, KoSvgTextShape::nodeForTextPath(), Subtract, TextPath, and Unknown.
| KoSvgTextAddRemoveShapeCommandImpl::~KoSvgTextAddRemoveShapeCommandImpl | ( | ) |
Definition at line 62 of file KoSvgTextAddRemoveShapeCommands.cpp.
|
overridevirtual |
Reimplemented from KisCommandUtils::FlipFlopCommand.
Definition at line 105 of file KoSvgTextAddRemoveShapeCommands.cpp.
References KoShape::absoluteTransformation(), KoShapeBulkActionLock::bulkShapesUpdate(), d, Inside, KoShape::parent(), Subtract, TextPath, and KoShapeBulkActionLock::unlock().
|
overridevirtual |
Reimplemented from KisCommandUtils::FlipFlopCommand.
Definition at line 68 of file KoSvgTextAddRemoveShapeCommands.cpp.
References KoShape::absoluteTransformation(), KoShapeBulkActionLock::bulkShapesUpdate(), d, KoShape::parent(), and KoShapeBulkActionLock::unlock().
|
private |
Definition at line 32 of file KoSvgTextAddRemoveShapeCommands.h.