Crosshair tool allowing optional rotation and shear. More...
#include <mgui/toolcrosshair.h>

Public Member Functions | |
| TOOL_CROSSHAIR (TOOLCANVAS *canvas) | |
| virtual | ~TOOL_CROSSHAIR () |
| double | GetAngleRotate () const |
| double | GetAngleShear () const |
| const DPOINT2D & | GetPoint () const |
| TOOL_CROSSHAIR & | operator= (const DPOINT2D &rhs) |
| void | SetPoint (const DPOINT2D &pt, bool reset=true) |
Crosshair tool allowing optional rotation and shear.
| MGUI::TOOL_CROSSHAIR::TOOL_CROSSHAIR | ( | TOOLCANVAS * | canvas | ) | [explicit] |
Constructor.
| virtual MGUI::TOOL_CROSSHAIR::~TOOL_CROSSHAIR | ( | ) | [virtual] |
Destructor.
| 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.
| reset | Reset other values |
1.6.1