MicroImages::GRTOOL_TEXT Class Reference

GRTOOL_TEXT - Text tool. More...

#include <mi32/grtool.h>

Inheritance diagram for MicroImages::GRTOOL_TEXT:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GRTOOL_TEXT (GRTOOLVIEW *view)
virtual ~GRTOOL_TEXT ()

Private Types

enum  ZONE { ZONE_NoFunction = 0, ZONE_Outside }

Private Member Functions

void ComputeCursorZone (const DPOINT2D &)
virtual void DoDraw (CDC *)
virtual void OnLButtonDown (UINT nFlags, const CPoint &mpoint)
virtual void OnMouseMove (UINT nFlags, const CPoint &mpoint)
void UpdateCursor () const

Private Attributes

DOUBLE_ARRAY< DPOINT2Dm_BasePoints
ZONE m_CursorZone
double m_MapScale
DPOINT2D m_prevpt
TEXTSTYLE m_Style
MISTRING m_Text
double m_TextHeight

Detailed Description

GRTOOL_TEXT - Text tool.

Definition at line 1749 of file grtool.h.


Member Enumeration Documentation

enum MicroImages::GRTOOL_TEXT::ZONE [private]
 

Enumeration constants.

Enumeration values:
ZONE_NoFunction 
ZONE_Outside 

Definition at line 1762 of file grtool.h.


Constructor & Destructor Documentation

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

Constructor.

virtual MicroImages::GRTOOL_TEXT::~GRTOOL_TEXT  )  [virtual]
 

Destructor.


Member Function Documentation

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

Methods.

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

Methods called by the GRTOOL base class.

Implements MicroImages::GRTOOL.

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

Methods called directly by the equivalent GRTOOLVIEW method.

Implements MicroImages::GRTOOL.

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

Implements MicroImages::GRTOOL.

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


Member Data Documentation

DOUBLE_ARRAY<DPOINT2D> MicroImages::GRTOOL_TEXT::m_BasePoints [private]
 

Tool position values.

Definition at line 1768 of file grtool.h.

ZONE MicroImages::GRTOOL_TEXT::m_CursorZone [private]
 

Current cursor zone.

Definition at line 1774 of file grtool.h.

double MicroImages::GRTOOL_TEXT::m_MapScale [private]
 

Definition at line 1770 of file grtool.h.

DPOINT2D MicroImages::GRTOOL_TEXT::m_prevpt [private]
 

Previous point during button-down.

Definition at line 1775 of file grtool.h.

TEXTSTYLE MicroImages::GRTOOL_TEXT::m_Style [private]
 

Definition at line 1772 of file grtool.h.

MISTRING MicroImages::GRTOOL_TEXT::m_Text [private]
 

Definition at line 1771 of file grtool.h.

double MicroImages::GRTOOL_TEXT::m_TextHeight [private]
 

Definition at line 1769 of file grtool.h.


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