#include <mgui/toolregp.h>
Inheritance diagram for MGUI::TOOL_REGPOLYGON:

Public Member Functions | |
| double | GetAngle () const |
| const DPOINT2D & | GetCenter () const |
| int | GetNumSegments () const |
| double | GetRadius () const |
| void | SetAngle (double newangle) |
| void | SetAngleVisible (bool anglevisible=true) |
| void | SetCenter (const DPOINT2D ¢er) |
| void | SetMarker (MARKER marker, UINT16 size=0) |
| void | SetNumSegments (int NumSegments) |
| void | SetRadius (double radius) |
| void | SetRadiusRange (double minradius, double maxradius) |
| TOOL_REGPOLYGON (TOOLCANVAS *canvas) | |
| virtual | ~TOOL_REGPOLYGON () |
Definition at line 32 of file toolregp.h.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Get current rotation angle.
Definition at line 44 of file toolregp.h. |
|
|
Get center position.
Definition at line 48 of file toolregp.h. |
|
|
Get number of segments.
Definition at line 52 of file toolregp.h. |
|
|
Get radius.
Definition at line 56 of file toolregp.h. |
|
|
Set rotation angle.
|
|
|
Set whether angle indicator is visible.
|
|
|
Set center of polygon.
|
|
||||||||||||
|
Set marker type and size. The default marker is MARKER_Plus with a size of 9 pixels.
|
|
|
Set number of polygon segments.
|
|
|
Set polygon radius (distance from center to vertex).
|
|
||||||||||||
|
Set allowed radius range.
|
1.3.8-20040913