List of all members.
Constructor & Destructor Documentation
| ShapeCommand::ShapeCommand |
( |
bool |
canUndo, |
|
|
const wxString & |
name, |
|
|
HippDocument * |
doc | |
|
) |
| | |
| ShapeCommand::~ShapeCommand |
( |
|
) |
[virtual] |
Member Function Documentation
| virtual bool hipp::ShapeCommand::Do |
( |
|
) |
[pure virtual] |
Implemented in hipp::BackgroundCommand, hipp::ChangeShapePropertyCommand, hipp::ClearShapesCommand, hipp::CopyShapeCommand, hipp::CreatePolylineCommand, hipp::CutShapeCommand, hipp::DeleteShapeCommand, hipp::FillShapeCommand, hipp::LineWidthCommand, hipp::MoveShapeCommand, hipp::PasteShapeCommand, hipp::ToggleCommand, hipp::TransformToCircleCommand, hipp::TransformToLineCommand, hipp::TransformToRectCommand, and hipp::ZoomShapeCommand.
| bool ShapeCommand::replaceShape |
( |
HippShape * |
oldShape, |
|
|
HippShape * |
newShape | |
|
) |
| | [protected] |
This functions finds the oldShape in the current document, and replaces it with the newShape. It also updates the views, marks the document as modified and selects the newShape in the view.
- Returns:
- Whether the oldShape was found in the document.
| virtual bool hipp::ShapeCommand::Undo |
( |
|
) |
[pure virtual] |
Implemented in hipp::BackgroundCommand, hipp::ChangeShapePropertyCommand, hipp::ClearShapesCommand, hipp::CopyShapeCommand, hipp::CreatePolylineCommand, hipp::CutShapeCommand, hipp::DeleteShapeCommand, hipp::FillShapeCommand, hipp::LineWidthCommand, hipp::MoveShapeCommand, hipp::PasteShapeCommand, hipp::ToggleCommand, hipp::TransformToCircleCommand, hipp::TransformToLineCommand, hipp::TransformToRectCommand, and hipp::ZoomShapeCommand.
Member Data Documentation
Reimplemented in hipp::BackgroundCommand, hipp::ClearShapesCommand, hipp::CreatePolylineCommand, hipp::CutShapeCommand, hipp::DeleteShapeCommand, hipp::FillShapeCommand, hipp::LineWidthCommand, hipp::MoveShapeCommand, hipp::PasteShapeCommand, hipp::ToggleCommand, hipp::TransformToCircleCommand, hipp::TransformToLineCommand, hipp::TransformToRectCommand, and hipp::ZoomShapeCommand.
The documentation for this class was generated from the following files: