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

Public Member Functions | |
| virtual int | GenerateRegion (REGION2D ®ion) const |
| double | GetAngle () const |
| const DPOINT2D & | GetCenter () const |
| const DPOINT2D & | GetRadius () const |
| GRTOOL_ELLIPSE (GRTOOLVIEW *view) | |
| void | SetAngle (double angle) |
| void | SetAngleVisible (bool anglevisible=true) |
| void | SetCenter (const DPOINT2D ¢er) |
| void | SetMarker (MARKER marker, UINT16 size=0) |
| void | SetRadius (DPOINT2D &radius) |
| void | SetRadiusRange (double minradius, double maxradius) |
| virtual | ~GRTOOL_ELLIPSE () |
Private Types | |
| enum | ZONE { ZONE_NoFunction = 0, ZONE_Outside, ZONE_Inside, ZONE_ResizeX, ZONE_ResizeY, ZONE_Perimeter, ZONE_SetCenter, ZONE_Rotate } |
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 DPOINT2D &) const |
Private Attributes | |
| double | m_angle |
| bool | m_anglevisible |
| DPOINT2D | m_center |
| ZONE | m_CursorZone |
| MARKER | m_marker |
| UINT16 | m_markersize |
| double | m_maxradius |
| double | m_minradius |
| DPOINT2D | m_prevpt |
| DPOINT2D | m_radius |
| TRANS2D_AFFINE | m_trans |
Definition at line 1078 of file grtool.h.
|
|
Enumeration constants.
|
|
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
Methods.
|
|
|
|
|
|
Methods called by the GRTOOL base class.
Implements MicroImages::GRTOOL. |
|
||||||||||||||||
|
Reimplemented from MicroImages::GRTOOL. |
|
|
Generate region from tool boundary.
Reimplemented from MicroImages::GRTOOL. |
|
|
Get current rotation angle.
|
|
|
Get center position.
|
|
|
Get radius.
|
|
||||||||||||
|
Methods called directly by the equivalent GRTOOLVIEW method.
Implements MicroImages::GRTOOL. |
|
||||||||||||
|
Implements MicroImages::GRTOOL. |
|
|
Set rotation angle.
|
|
|
Set whether rotation angle indicator is visible. The rotation angle is indicated by a line from the center to the boundary. |
|
|
Set center coordinates.
|
|
||||||||||||
|
Set marker type and size. The default marker is MARKER_Plus with a size of 9 pixels.
|
|
|
Set radius.
|
|
||||||||||||
|
Set allowed radius range.
|
|
|
|
|
|
|
|
|
|
|
|
Visibility of rotation angle indicator.
|
|
|
Center.
|
|
|
Current cursor zone.
|
|
|
Tool settings.
|
|
|
|
|
|
Maximum radius, 0 if no maximum.
|
|
|
Minimum radius.
|
|
|
Previous point during button-down.
|
|
|
|
|
|
Transformation to apply size,rotation,center.
|
1.3.8-20040913