a2dDrawEllipseTool Class Reference
[Objects used for interactive manipulation.]

Interactive drawing of a Ellipse. More...

#include <sttool.h>

Inheritance diagram for a2dDrawEllipseTool:

Inheritance graph
[legend]
Collaboration diagram for a2dDrawEllipseTool:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dDrawEllipseTool (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_DrawEllipse
 push this tool on the tools stack

Protected Member Functions

void OnIdle (wxIdleEvent &event)
 handler for idle events
void OnMouseEvent (wxMouseEvent &event)
 called on mouse events
void OnChar (wxKeyEvent &event)
 called on key events
virtual void GenerateAnotation ()
 to display a string along with a tool drawing.

Protected Attributes

double m_start_x
double m_start_y


Detailed Description

Interactive drawing of a Ellipse.

Remarks:
Left Click and drag.

Cursor keys to shift object.

Or Spacebar to end line.

See also:
a2dStToolContr

Definition at line 1387 of file sttool.h.


Member Function Documentation

bool a2dDrawEllipseTool::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 1397 of file sttool.h.

void a2dDrawEllipseTool::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 4731 of file sttool.cpp.


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