a2dDrawRectangleTool Class Reference
[Objects used for interactive manipulation.]

Interactive drawing of a Rectangle. More...

#include <sttool.h>

Inheritance diagram for a2dDrawRectangleTool:

Inheritance graph
[legend]
Collaboration diagram for a2dDrawRectangleTool:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dDrawRectangleTool (a2dStToolContr *controller)
bool ZoomSave ()
 Is Zooming while the tool is busy Save.
void SetRadius (double radius)

Static Public Attributes

static const a2dCommandId COMID_PushTool_DrawRectangle
 push this tool on the tools stack

Protected Member Functions

virtual void GenerateAnotation ()
 to display a string along with a tool drawing.
void OnMouseEvent (wxMouseEvent &event)
 called on mouse events
virtual wxString GetCommandGroupName ()
 return the command group name for commands of a derived class

Protected Attributes

double m_radius


Detailed Description

Interactive drawing of a Rectangle.

Remarks:
Left Click and drag.

Cursor keys to shift object.

Or Spacebar to end rectangle.

See also:
a2dStToolContr

Definition at line 700 of file sttool.h.


Member Function Documentation

bool a2dDrawRectangleTool::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.

Definition at line 711 of file sttool.h.

virtual wxString a2dDrawRectangleTool::GetCommandGroupName (  )  [inline, protected, virtual]

return the command group name for commands of a derived class

this defaults to the class name

Reimplemented from a2dBaseTool.

Definition at line 721 of file sttool.h.


The documentation for this class was generated from the following files:
a2dDrawRectangleTool Class Reference -- Tue Aug 31 18:25:31 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation