16 #ifndef __A2DSTTOOL2_H__
17 #define __A2DSTTOOL2_H__
23 #include <wx/listimpl.cpp>
97 void OnChar( wxKeyEvent& event );
106 DECLARE_EVENT_TABLE()
132 void SetShiftIsAdd() { m_shift_is_add =
true; }
140 void OnChar( wxKeyEvent& event );
151 DECLARE_EVENT_TABLE()
184 void SelectAll(
bool select );
189 void OnChar( wxKeyEvent& event );
198 DECLARE_EVENT_TABLE()
229 void OnChar( wxKeyEvent& event );
233 void OnIdle( wxIdleEvent& event );
245 virtual void DragRelative(
double x,
double y );
249 virtual void AdjustShift(
double* x,
double* y );
259 double m_startObjectx;
260 double m_startObjecty;
261 double m_startMousexw;
262 double m_startMouseyw;
266 DECLARE_EVENT_TABLE()
289 void OnChar( wxKeyEvent& event );
295 void AdjustShift(
double* x,
double* y );
303 DECLARE_EVENT_TABLE()
329 void SetRadius(
double radius ) { m_radius = radius; }
350 DECLARE_EVENT_TABLE()
381 void OnChar( wxKeyEvent& event );
393 DECLARE_EVENT_TABLE()
441 void SetSpline(
bool spline );
448 void OnIdle( wxIdleEvent& event );
450 void OnChar( wxKeyEvent& event );
485 DECLARE_EVENT_TABLE()
586 DECLARE_EVENT_TABLE()
a2dPATH_END_TYPE
defines the way a polyline with a contour width is ended.
bool ZoomSave()
Is Zooming while the tool is busy Save.
class to map references to objects stored in XML, in order to make the connection later on...
static const a2dCommandId COMID_PushTool_FastSelect2
push this tool on the tools stack
polygon defined with list of points.
virtual wxString GetCommandGroupName()
return the command group name for commands of a derived class
static const a2dCommandId COMID_PushTool_FastDragMulti
push this tool on the tools stack
static const a2dCommandId COMID_PushTool_DrawRectangleFast
push this tool on the tools stack
a2dCanvasObject is the base class for Canvas Objects.
static const a2dCommandId COMID_PushTool_DrawCircleFast
push this tool on the tools stack
vertex list of line and arc segments.
static const a2dCommandId COMID_PushTool_ZoomFast
push this tool on the tools stack
bool ZoomSave()
Is Zooming while the tool is busy Save.
bool ZoomSave()
Is Zooming while the tool is busy Save.
Interactive (De)selection Selection of an Object(s).
polyline defined with list of points.
Normal straight line segment in a2dVertexList and a2dVertexArray.
static const a2dCommandId COMID_PushTool_DrawPolylineLFast_Splined
push this tool on the tools stack
Each a2dCommand is given a command id at construction.
Interactive Selection of an Object.
static const a2dCommandId COMID_PushTool_FastCopyMulti
push this tool on the tools stack
static const a2dCommandId COMID_PushTool_DrawPolygonLFast
push this tool on the tools stack
void SetSelectMode(bool select)
if set true selection is done, when false it is deselect.
static const a2dCommandId COMID_PushTool_DrawPolygonLFast_Splined
push this tool on the tools stack
static const a2dCommandId COMID_PushTool_DrawPolylineLFast
push this tool on the tools stack
Event sent to a2dCommandProcessor.
static const a2dCommandId COMID_PushTool_FastSelect
push this tool on the tools stack
virtual wxString GetCommandGroupName()
return the command group name for commands of a derived class
virtual wxString GetCommandGroupName()
return the command group name for commands of a derived class
CloneOptions
options for cloning