a2dStDrawToolFast Class Reference

base for tools that draw and are stack based. More...

#include <sttool2.h>

Inheritance diagram for a2dStDrawToolFast:

Inheritance graph
[legend]
Collaboration diagram for a2dStDrawToolFast:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dStDrawToolFast (a2dStToolContr *controller)
virtual ~a2dStDrawToolFast ()
 destructor
void SetAllowModifyTemplate (bool allowModifyTemplate)
 template adepts to style change from outside or not
bool GetAllowModifyTemplate ()
 template adepts to style change from outside or not

Protected Member Functions

virtual bool CreateToolObjects ()
 Create the editcopy and other tool objects (e.g. decorations).
virtual void CleanupToolObjects ()
 Cleanup the editcopy other tool objects (e.g. decorations).
void Render ()
 implement rendering


Detailed Description

base for tools that draw and are stack based.

Definition at line 28 of file sttool2.h.


Constructor & Destructor Documentation

a2dStDrawToolFast::a2dStDrawToolFast ( a2dStToolContr controller  ) 

Parameters:
controller Pointer to a a2dStToolContr controller.

Definition at line 51 of file sttool2.cpp.


Member Function Documentation

bool a2dStDrawToolFast::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 a2dStDrawTool.

Reimplemented in a2dDrawRectangleToolFast, a2dDrawCircleToolFast, a2dDrawPolygonLToolFast, and a2dDrawPolylineLToolFast.

Definition at line 64 of file sttool2.cpp.

void a2dStDrawToolFast::Render (  )  [protected, virtual]

implement rendering

in general is rendering for tools just to draw/render m_canvasobject when set.

Reimplemented from a2dStTool.

Definition at line 102 of file sttool2.cpp.


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