#include <mi32/grtool.h>
Inheritance diagram for MicroImages::GRTOOL_SEGMENT:

Public Member Functions | |
| const DPOINT2D & | GetEnd () const |
| const DPOINT2D & | GetStart () const |
| GRTOOL_SEGMENT (GRTOOLVIEW *view) | |
| void | SetMarkers (MARKER startmarker, MARKER endmarker, UINT16 startmarkersize=0, UINT16 endmarkersize=0) |
| virtual | ~GRTOOL_SEGMENT () |
Private Types | |
| enum | ZONE { ZONE_NoFunction = 0, ZONE_Outside, ZONE_Inside, ZONE_Start, ZONE_End } |
Private Member Functions | |
| void | AdjustTool (const DPOINT2D &, bool firsttime=false) |
| void | ComputeCursorZone (const DPOINT2D &) |
| virtual void | DoDraw (CDC *) |
| virtual void | DoMove (double dx, double dy, ADJUSTFLAGS flags) |
| virtual void | OnLButtonDown (UINT nFlags, const CPoint &mpoint) |
| virtual void | OnMouseMove (UINT nFlags, const CPoint &mpoint) |
| void | StartTool (const DPOINT2D &) |
| void | UpdateCursor () const |
Private Attributes | |
| UINT8 | m_AdjustMode |
| ZONE | m_CursorZone |
| MARKER | m_endmarker |
| UINT16 | m_endmarkersize |
| DPOINT2D | m_endpoint |
| DPOINT2D | m_prevpt |
| MARKER | m_startmarker |
| UINT16 | m_startmarkersize |
| DPOINT2D | m_startpoint |
Definition at line 905 of file grtool.h.
|
|
Enumeration constants.
|
|
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
Methods.
|
|
|
|
|
|
Methods called by the GRTOOL base class.
Implements MicroImages::GRTOOL. |
|
||||||||||||||||
|
Reimplemented from MicroImages::GRTOOL. |
|
|
Get segment end point coordinates.
|
|
|
Get segment start point coordinates.
|
|
||||||||||||
|
Methods called directly by the equivalent GRTOOLVIEW method.
Implements MicroImages::GRTOOL. |
|
||||||||||||
|
Implements MicroImages::GRTOOL. |
|
||||||||||||||||||||
|
Set markers for start and end points.
|
|
|
|
|
|
|
|
|
Adjustment mode, 2=rotate, 1=everything else.
|
|
|
Current cursor zone.
|
|
|
|
|
|
|
|
|
Tool position values.
|
|
|
Previous point during button-down.
|
|
|
Tool settings.
|
|
|
|
|
|
|
1.3.8-20040913