libs/flake
KoPathBaseCommand Class Reference
the base command for commands altering a path shape More...
#include <KoPathBaseCommand.h>
Inheritance diagram for KoPathBaseCommand:

Public Member Functions | |
| KoPathBaseCommand (KoPathShape *shape, QUndoCommand *parent=0) | |
| KoPathBaseCommand (QUndoCommand *parent=0) | |
Protected Member Functions | |
| void | repaint (bool normalizeShapes) |
Protected Attributes | |
| QSet< KoPathShape * > | m_shapes |
Detailed Description
the base command for commands altering a path shape
Definition at line 30 of file KoPathBaseCommand.h.
Constructor & Destructor Documentation
| KoPathBaseCommand::KoPathBaseCommand | ( | QUndoCommand * | parent = 0 |
) | [explicit] |
- Parameters:
-
parent the parent command used for macro commands
Definition at line 24 of file KoPathBaseCommand.cpp.
| KoPathBaseCommand::KoPathBaseCommand | ( | KoPathShape * | shape, | |
| QUndoCommand * | parent = 0 | |||
| ) | [explicit] |
initialize the base command with a single shape
- Parameters:
-
parent the parent command used for macro commands
Definition at line 29 of file KoPathBaseCommand.cpp.
Member Function Documentation
| void KoPathBaseCommand::repaint | ( | bool | normalizeShapes | ) | [protected] |
Shedules repainting of all shapes control point rects.
- Parameters:
-
normalizeShapes controls if paths are normalized before painting
Definition at line 35 of file KoPathBaseCommand.cpp.
Member Data Documentation
QSet<KoPathShape*> KoPathBaseCommand::m_shapes [protected] |
the shapes the command operates on
Definition at line 48 of file KoPathBaseCommand.h.
The documentation for this class was generated from the following files:
