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

Public Types | |
| enum | CLOSURE { CLOSURE_None, CLOSURE_Chord, CLOSURE_Wedge } |
Public Member Functions | |
| virtual int | GenerateRegion (REGION2D ®ion) const |
| const DPOINT2D & | GetCenter () const |
| CLOSURE | GetClosure () const |
| double | GetRadius () const |
| double | GetStartAngle () const |
| double | GetSweepAngle () const |
| GRTOOL_ARC (GRTOOLVIEW *view) | |
| void | SetCenter (const DPOINT2D &newcenter) |
| void | SetClosure (CLOSURE closure) |
| void | SetMarker (MARKER marker, UINT16 size=0) |
| void | SetRadius (double newradius) |
| void | SetRadiusRange (double newminradius, double newmaxradius) |
| void | SetStartAngle (double startangle) |
| void | SetSweepAngle (double sweepangle) |
| virtual | ~GRTOOL_ARC () |
Private Types | |
| enum | ZONE { ZONE_NoFunction = 0, ZONE_Outside, ZONE_Inside, ZONE_Perimeter, ZONE_SetCenter, 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 DPOINT2D &) const |
Private Attributes | |
| DPOINT2D | m_center |
| CLOSURE | m_closure |
| ZONE | m_CursorZone |
| MARKER | m_marker |
| UINT16 | m_markersize |
| double | m_maxradius |
| double | m_minradius |
| DPOINT2D | m_prevpt |
| double | m_radius |
| double | m_StartAngle |
| double | m_SweepAngle |
Definition at line 1186 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 center position.
|
|
|
Get closure type.
|
|
|
Get radius.
|
|
|
Get starting angle.
|
|
|
Get sweep angle.
|
|
||||||||||||
|
Methods called directly by the equivalent GRTOOLVIEW method.
Implements MicroImages::GRTOOL. |
|
||||||||||||
|
Implements MicroImages::GRTOOL. |
|
|
Set center of arc.
|
|
|
Set closure type.
|
|
||||||||||||
|
Set marker type and size. The default marker is MARKER_Plus with a size of 9 pixels.
|
|
|
|
|
||||||||||||
|
|
|
|
Set starting angle.
|
|
|
Set sweep angle.
|
|
|
|
|
|
|
|
|
Center.
|
|
|
|
|
|
Current cursor zone.
|
|
|
Tool settings.
|
|
|
|
|
|
Maximum radius, 0 if no maximum.
|
|
|
Minimum radius.
|
|
|
Previous point during button-down.
|
|
|
|
|
|
|
|
|
|
1.3.8-20040913