wxShapeFramework
1.13.0 beta
|
Class extends the wxSFSolidBase class and encapsulates arrow shape consisting of a filled circle located at the end of the parent line shape. More...
#include <CircleArrow.h>
Public Member Functions | |
XS_DECLARE_CLONABLE_CLASS (wxSFCircleArrow) | |
wxSFCircleArrow (void) | |
Default constructor. | |
wxSFCircleArrow (wxSFShapeBase *parent) | |
User constructor. | |
wxSFCircleArrow (const wxSFCircleArrow &obj) | |
Copy constructor. | |
virtual | ~wxSFCircleArrow (void) |
Destructor. | |
void | SetRadius (int radius) |
Set radius of circle arrow. | |
int | GetRadius () const |
Get radius of circle arrow. | |
virtual void | Draw (const wxRealPoint &from, const wxRealPoint &to, wxDC &dc) |
Draw arrow shape at the end of a virtual line. | |
Protected Attributes | |
int | m_nRadius |
Circle radius. |
Class extends the wxSFSolidBase class and encapsulates arrow shape consisting of a filled circle located at the end of the parent line shape.
wxSFCircleArrow::wxSFCircleArrow | ( | void | ) |
Default constructor.
wxSFCircleArrow::wxSFCircleArrow | ( | wxSFShapeBase * | parent | ) |
User constructor.
parent | Pointer to the parent shape |
wxSFCircleArrow::wxSFCircleArrow | ( | const wxSFCircleArrow & | obj | ) |
Copy constructor.
obj | Reference to the source object |
virtual wxSFCircleArrow::~wxSFCircleArrow | ( | void | ) | [virtual] |
Destructor.
virtual void wxSFCircleArrow::Draw | ( | const wxRealPoint & | from, |
const wxRealPoint & | to, | ||
wxDC & | dc | ||
) | [virtual] |
Draw arrow shape at the end of a virtual line.
from | Start of the virtual line |
to | End of the virtual line |
dc | Device context for drawing |
Reimplemented from wxSFSolidArrow.
int wxSFCircleArrow::GetRadius | ( | ) | const [inline] |
Get radius of circle arrow.
void wxSFCircleArrow::SetRadius | ( | int | radius | ) | [inline] |
Set radius of circle arrow.
radius | Radius of circle arrow |
int wxSFCircleArrow::m_nRadius [protected] |
Circle radius.