MGUI::TOOL_ARC Class Reference
Circular arc tool.
More...
#include <mgui/toolarc.h>
List of all members.
Detailed Description
Circular arc tool.
Member Enumeration Documentation
- Enumerator:
| CLOSURE_None |
|
| CLOSURE_Chord |
|
| CLOSURE_Wedge |
|
Constructor & Destructor Documentation
| MGUI::TOOL_ARC::TOOL_ARC |
( |
TOOLCANVAS * |
canvas |
) |
[explicit] |
| virtual MGUI::TOOL_ARC::~TOOL_ARC |
( |
|
) |
[virtual] |
Member Function Documentation
| const DPOINT2D& MGUI::TOOL_ARC::GetCenter |
( |
|
) |
const [inline] |
| CLOSURE MGUI::TOOL_ARC::GetClosure |
( |
|
) |
const [inline] |
| double MGUI::TOOL_ARC::GetRadius |
( |
|
) |
const [inline] |
| double MGUI::TOOL_ARC::GetStartAngle |
( |
|
) |
const [inline] |
Get starting angle.
- Returns:
- Starting angle in radians.
| double MGUI::TOOL_ARC::GetSweepAngle |
( |
|
) |
const [inline] |
Get sweep angle.
- Returns:
- Sweep angle in radians.
| void MGUI::TOOL_ARC::SetCenter |
( |
const DPOINT2D & |
newcenter |
) |
|
| void MGUI::TOOL_ARC::SetClosure |
( |
CLOSURE |
closure |
) |
|
| void MGUI::TOOL_ARC::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 MGUI::TOOL_ARC::SetRadius |
( |
double |
newradius |
) |
|
| void MGUI::TOOL_ARC::SetRadiusRange |
( |
double |
newminradius, |
|
|
double |
newmaxradius | |
|
) |
| | |
| void MGUI::TOOL_ARC::SetStartAngle |
( |
double |
startangle |
) |
|
Set starting angle.
- Parameters:
-
| startangle | Starting angle in radians |
| void MGUI::TOOL_ARC::SetSweepAngle |
( |
double |
sweepangle |
) |
|
Set sweep angle.
- Parameters:
-
| sweepangle | Sweep angle in radians |
The documentation for this class was generated from the following file: