a2dDrawCircleToolFast Class Reference

Interactive drawing of a Circle. More...

#include <sttool2.h>

Inheritance diagram for a2dDrawCircleToolFast:

Inheritance graph
[legend]
Collaboration diagram for a2dDrawCircleToolFast:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

void OnComEvent (a2dComEvent &event)
 tool specific statusbar
void OnChar (wxKeyEvent &event)
 called on key events
void OnMouseEvent (wxMouseEvent &event)
 called on mouse events
bool CreateToolObjects ()
 Create the editcopy and other tool objects (e.g. decorations).

Protected Attributes

double m_start_x
double m_start_y
double m_radius


Detailed Description

Interactive drawing of a Circle.

Remarks:
Left Click and drag.

Cursor keys to shift object.

Or Spacebar to end line.

See also:
a2dStToolContr

Definition at line 362 of file sttool2.h.


Member Function Documentation

bool a2dDrawCircleToolFast::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 372 of file sttool2.h.

void a2dDrawCircleToolFast::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 1667 of file sttool2.cpp.

bool a2dDrawCircleToolFast::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 1782 of file sttool2.cpp.


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