#include <sttool.h>


Public Member Functions | |
| a2dDrawArcTool (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) | |
| void | SetMode2 (int mode) |
| change mode of drawing | |
| void | SetChord (bool chord) |
| draw jus a cord object | |
Static Public Attributes | |
| static const a2dCommandId | COMID_PushTool_DrawArc |
| push this tool on the tools stack | |
| static const a2dCommandId | COMID_PushTool_DrawArc_Chord |
| 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. | |
| virtual wxString | GetCommandGroupName () |
| return the command group name for commands of a derived class | |
Protected Attributes | |
| int | m_mode2 |
| way of drawing | |
| double | m_arcstart |
| start arc | |
| double | m_arcend |
| end arc | |
| double | m_start_x |
| start x | |
| double | m_start_y |
| start y | |
| bool | m_chord |
| draw just a cord object, not filled. | |
Left Click again Or Spacebar to end arc drawing.
Return/Enter to cycle through drawing mode2 for changing start and end angle.
Cursor keys to shift object.
Shift drag/move to change start angle.
Definition at line 1503 of file sttool.h.
| bool a2dDrawArcTool::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 a2dDrawArcTool::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 5206 of file sttool.cpp.
| virtual wxString a2dDrawArcTool::GetCommandGroupName | ( | ) | [inline, protected, virtual] |
return the command group name for commands of a derived class
this defaults to the class name
Reimplemented from a2dBaseTool.