MicroImages::GRTOOL_CROSSHAIR Class Reference

GRTOOL_CROSSHAIR - Crosshair tool. More...

#include <mi32/grtool.h>

Inheritance diagram for MicroImages::GRTOOL_CROSSHAIR:

Inheritance graph
[legend]
List of all members.

Public Member Functions

double GetAngle () const
const DPOINT2DGetPoint () const
 GRTOOL_CROSSHAIR (GRTOOLVIEW *view)
GRTOOL_CROSSHAIRoperator= (const DPOINT2D &rhs)
virtual ~GRTOOL_CROSSHAIR ()

Private Types

enum  ZONE { ZONE_NoFunction = 0, ZONE_Outside }

Private Member Functions

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 UpdateCursor () const

Private Attributes

double m_angle
ZONE m_CursorZone
DPOINT2D m_point

Detailed Description

GRTOOL_CROSSHAIR - Crosshair tool.

Definition at line 852 of file grtool.h.


Member Enumeration Documentation

enum MicroImages::GRTOOL_CROSSHAIR::ZONE [private]
 

Enumeration constants.

Enumeration values:
ZONE_NoFunction 
ZONE_Outside 

Definition at line 879 of file grtool.h.


Constructor & Destructor Documentation

MicroImages::GRTOOL_CROSSHAIR::GRTOOL_CROSSHAIR GRTOOLVIEW view  )  [explicit]
 

Constructor.

virtual MicroImages::GRTOOL_CROSSHAIR::~GRTOOL_CROSSHAIR  )  [virtual]
 

Destructor.


Member Function Documentation

void MicroImages::GRTOOL_CROSSHAIR::ComputeCursorZone const DPOINT2D  )  [private]
 

Methods.

virtual void MicroImages::GRTOOL_CROSSHAIR::DoDraw CDC *   )  [private, virtual]
 

Methods called by the GRTOOL base class.

Implements MicroImages::GRTOOL.

virtual void MicroImages::GRTOOL_CROSSHAIR::DoMove double  dx,
double  dy,
ADJUSTFLAGS  flags
[private, virtual]
 

Reimplemented from MicroImages::GRTOOL.

double MicroImages::GRTOOL_CROSSHAIR::GetAngle  )  const [inline]
 

Get current rotation angle.

Returns:
Rotation angle in RADIANS.

Definition at line 870 of file grtool.h.

const DPOINT2D& MicroImages::GRTOOL_CROSSHAIR::GetPoint  )  const [inline]
 

Get current crosshair position.

Definition at line 874 of file grtool.h.

virtual void MicroImages::GRTOOL_CROSSHAIR::OnLButtonDown UINT  nFlags,
const CPoint &  mpoint
[private, virtual]
 

Methods called directly by the equivalent GRTOOLVIEW method.

Implements MicroImages::GRTOOL.

virtual void MicroImages::GRTOOL_CROSSHAIR::OnMouseMove UINT  nFlags,
const CPoint &  mpoint
[private, virtual]
 

Implements MicroImages::GRTOOL.

GRTOOL_CROSSHAIR& MicroImages::GRTOOL_CROSSHAIR::operator= const DPOINT2D rhs  ) 
 

Assignment from DPOINT2D.

void MicroImages::GRTOOL_CROSSHAIR::UpdateCursor  )  const [private]
 


Member Data Documentation

double MicroImages::GRTOOL_CROSSHAIR::m_angle [private]
 

Rotation angle.

Definition at line 885 of file grtool.h.

ZONE MicroImages::GRTOOL_CROSSHAIR::m_CursorZone [private]
 

Current cursor zone.

Definition at line 887 of file grtool.h.

DPOINT2D MicroImages::GRTOOL_CROSSHAIR::m_point [private]
 

Tool position.

Definition at line 884 of file grtool.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:21:04 2004 for TNTsdk by  doxygen 1.3.8-20040913