MicroImages::GRTOOL_POINT Class Reference

GRTOOL_POINT - Point tool. More...

#include <mi32/grtool.h>

Inheritance diagram for MicroImages::GRTOOL_POINT:

Inheritance graph
[legend]
List of all members.

Public Member Functions

const DPOINT3DGetPoint () const
 GRTOOL_POINT (GRTOOLVIEW *view)
GRTOOL_POINToperator= (const DPOINT3D &rhs)
GRTOOL_POINToperator= (const DPOINT2D &rhs)
void SetMarker (MARKER marker, UINT16 size=0)
virtual ~GRTOOL_POINT ()

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

ZONE m_CursorZone
MARKER m_marker
UINT16 m_markersize
DPOINT3D m_point

Detailed Description

GRTOOL_POINT - Point tool.

Definition at line 683 of file grtool.h.


Member Enumeration Documentation

enum MicroImages::GRTOOL_POINT::ZONE [private]
 

Enumeration constants.

Enumeration values:
ZONE_NoFunction 
ZONE_Outside 

Definition at line 717 of file grtool.h.


Constructor & Destructor Documentation

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

Constructor.

virtual MicroImages::GRTOOL_POINT::~GRTOOL_POINT  )  [virtual]
 

Destructor.


Member Function Documentation

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

Methods.

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

Methods called by the GRTOOL base class.

Implements MicroImages::GRTOOL.

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

Reimplemented from MicroImages::GRTOOL.

const DPOINT3D& MicroImages::GRTOOL_POINT::GetPoint  )  const [inline]
 

Get current tool point coordinates.

Definition at line 705 of file grtool.h.

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

Methods called directly by the equivalent GRTOOLVIEW method.

Implements MicroImages::GRTOOL.

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

Implements MicroImages::GRTOOL.

GRTOOL_POINT& MicroImages::GRTOOL_POINT::operator= const DPOINT3D rhs  ) 
 

Assigment from DPOINT3D.

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

Assignment from DPOINT2D.

void MicroImages::GRTOOL_POINT::SetMarker MARKER  marker,
UINT16  size = 0
 

Set marker type and size.

The default marker is MARKER_Plus with a size of 9 pixels.

Parameters:
marker  New marker type
size  New marker size, 0 to retain current size

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


Member Data Documentation

ZONE MicroImages::GRTOOL_POINT::m_CursorZone [private]
 

Current cursor zone.

Definition at line 727 of file grtool.h.

MARKER MicroImages::GRTOOL_POINT::m_marker [private]
 

Tool settings.

Definition at line 722 of file grtool.h.

UINT16 MicroImages::GRTOOL_POINT::m_markersize [private]
 

Definition at line 723 of file grtool.h.

DPOINT3D MicroImages::GRTOOL_POINT::m_point [private]
 

Tool position.

Definition at line 725 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