#include <sttool.h>


Public Member Functions | |
| a2dDrawCircleTool (a2dStToolContr *controller) | |
| bool | ZoomSave () |
| Is Zooming while the tool is busy Save. | |
| void | SetMode (int mode) |
| general integer to set operation modes for a tool (e.g the way it draws) | |
Static Public Attributes | |
| static const a2dCommandId | COMID_PushTool_DrawCircle |
| push this tool on the tools stack | |
Protected Member Functions | |
| void | OnIdle (wxIdleEvent &event) |
| handler for idle events | |
| void | OnChar (wxKeyEvent &event) |
| called on key events | |
| void | OnMouseEvent (wxMouseEvent &event) |
| called on mouse events | |
| virtual void | GenerateAnotation () |
| to display a string along with a tool drawing. | |
Protected Attributes | |
| double | m_start_x |
| double | m_start_y |
| double | m_radius |
Cursor keys to shift object.
Or Spacebar to end line.
Definition at line 1256 of file sttool.h.
| bool a2dDrawCircleTool::ZoomSave | ( | ) | [inline, virtual] |
Is Zooming while the tool is busy Save.
If so, the active tool will redraw itself in the new Mapping state
Implements a2dBaseTool.
| void a2dDrawCircleTool::SetMode | ( | int | mode | ) | [virtual] |
general integer to set operation modes for a tool (e.g the way it draws)
tools most check the mode and handle in accordance In general Tab should be used to tab/switch/circle between modes understood by a tool.
Reimplemented from a2dBaseTool.
Definition at line 3608 of file sttool.cpp.