#include <sttool.h>


Public Member Functions | |
| a2dDrawPolylineLTool (a2dStToolContr *controller, a2dPolylineL *templateObject=NULL) | |
| constructor | |
| void | SetLineBegin (a2dCanvasObject *begin) |
| defines line begin object for line and polyline drawing tools | |
| void | SetLineEnd (a2dCanvasObject *end) |
| defines line end object for line and polyline drawing tools | |
| a2dCanvasObject * | GetLineBegin () |
| get current line begin object for line and polyline drawing tools. | |
| a2dCanvasObject * | GetLineEnd () |
| get current line end object for line and polyline drawing tools | |
| void | SetEndScaleX (double xs) |
| scaling in X for begin and end objects of lines and polylines | |
| void | SetEndScaleY (double ys) |
| scaling in Y for begin and end objects of lines and polylines | |
| double | GetEndScaleX () |
| get scaling in X for begin and end objects of lines and polylines | |
| double | GetEndScaleY () |
| get scaling in Y for begin and end objects of lines and polylines | |
| void | SetPathType (a2dPATH_END_TYPE pathtype) |
| Set when m_contourwidth != 0 what is the end of the line should be. | |
| a2dPATH_END_TYPE | GetPathType () |
| get when m_contourwidth != 0 what is the end of the line looks like. | |
Static Public Attributes | |
| static const a2dCommandId | COMID_PushTool_DrawPolylineL |
| push this tool on the tools stack | |
| static const a2dCommandId | COMID_PushTool_DrawPolylineL_Splined |
| push this tool on the tools stack | |
Protected Member Functions | |
| void | OnMouseEvent (wxMouseEvent &event) |
| called on mouse events | |
| void | OnDoEvent (a2dCommandProcessorEvent &event) |
| handler for Do event | |
Protected Attributes | |
| a2dSmrtPtr< a2dPolylineL > | m_templatePline |
Space bar or Double click to end drawing.
Cursor keys to shift object.
Cursor keys + control to shift point.
Right Click to zoom.
Definition at line 1662 of file sttool.h.
| a2dDrawPolylineLTool::a2dDrawPolylineLTool | ( | a2dStToolContr * | controller, | |
| a2dPolylineL * | templateObject = NULL | |||
| ) |
constructor
| controller | tool controller one which this tool is pushed. | |
| templateObject | when not NULL, this object is cloned and used for the new drawn object. |
Definition at line 4043 of file sttool.cpp.
| void a2dDrawPolylineLTool::SetLineBegin | ( | a2dCanvasObject * | begin | ) |
defines line begin object for line and polyline drawing tools
You might want to reset m_newObjectsGetCommandProcStyle also. Otherwise the command processor will overwrite what you set here
Definition at line 4087 of file sttool.cpp.
| void a2dDrawPolylineLTool::SetLineEnd | ( | a2dCanvasObject * | end | ) |
defines line end object for line and polyline drawing tools
You might want to reset m_newObjectsGetCommandProcStyle also. Otherwise the command processor will overwrite what you set here
Definition at line 4092 of file sttool.cpp.
| a2dCanvasObject* a2dDrawPolylineLTool::GetLineBegin | ( | ) | [inline] |
| a2dCanvasObject* a2dDrawPolylineLTool::GetLineEnd | ( | ) | [inline] |