MGUI::TOOL_CROSSHAIR Class Reference

Crosshair tool allowing optional rotation and shear. More...

#include <mgui/toolcrosshair.h>

Inheritance diagram for MGUI::TOOL_CROSSHAIR:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TOOL_CROSSHAIR (TOOLCANVAS *canvas)
virtual ~TOOL_CROSSHAIR ()
double GetAngleRotate () const
double GetAngleShear () const
const DPOINT2DGetPoint () const
TOOL_CROSSHAIRoperator= (const DPOINT2D &rhs)
void SetPoint (const DPOINT2D &pt, bool reset=true)

Detailed Description

Crosshair tool allowing optional rotation and shear.


Constructor & Destructor Documentation

MGUI::TOOL_CROSSHAIR::TOOL_CROSSHAIR ( TOOLCANVAS canvas  )  [explicit]

Constructor.

virtual MGUI::TOOL_CROSSHAIR::~TOOL_CROSSHAIR (  )  [virtual]

Destructor.


Member Function Documentation

double MGUI::TOOL_CROSSHAIR::GetAngleRotate (  )  const [inline]

Get angle of rotation.

double MGUI::TOOL_CROSSHAIR::GetAngleShear (  )  const [inline]

Get angle of shear.

const DPOINT2D& MGUI::TOOL_CROSSHAIR::GetPoint (  )  const [inline]

Get point coordinates.

TOOL_CROSSHAIR& MGUI::TOOL_CROSSHAIR::operator= ( const DPOINT2D rhs  )  [inline]

Assignment from DPOINT2D (resets all other values).

void MGUI::TOOL_CROSSHAIR::SetPoint ( const DPOINT2D pt,
bool  reset = true 
)

Set point.

Parameters:
reset Reset other values

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:36:17 2012 for TNTsdk 2012 by  doxygen 1.6.1