a2dDrawRectangleToolFast Class Reference
[Objects used for interactive manipulation.]

Interactive drawing of a Rectangle. More...

#include <sttool2.h>

Inheritance diagram for a2dDrawRectangleToolFast:

Inheritance graph
[legend]
Collaboration diagram for a2dDrawRectangleToolFast:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Static Public Attributes

static const a2dCommandId COMID_PushTool_DrawRectangleFast
 push this tool on the tools stack

Protected Member Functions

void OnComEvent (a2dComEvent &event)
 called when a tool has changed (fill stroke layer spline )
void OnMouseEvent (wxMouseEvent &event)
 called on mouse events
virtual wxString GetCommandGroupName ()
 return the command group name for commands of a derived class
bool CreateToolObjects ()
 Create the editcopy and other tool objects (e.g. decorations).

Protected Attributes

double m_radius
double m_xwlast
double m_ywlast
bool m_didDraw


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 317 of file sttool2.h.


Member Function Documentation

bool a2dDrawRectangleToolFast::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 331 of file sttool2.h.

virtual wxString a2dDrawRectangleToolFast::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 339 of file sttool2.h.

bool a2dDrawRectangleToolFast::CreateToolObjects (  )  [protected, virtual]

Create the editcopy and other tool objects (e.g. decorations).

m_original must be set before this function is called

Reimplemented from a2dStDrawToolFast.

Definition at line 1588 of file sttool2.cpp.


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