|
wxShapeFramework
1.13.0 beta
|
Class extends the wxSFArrowBase class and encapsulates arrow shape consisting of single two lines leading from the end of the parent line shape. More...
#include <OpenArrow.h>


Public Member Functions | |
| XS_DECLARE_CLONABLE_CLASS (wxSFOpenArrow) | |
| wxSFOpenArrow (void) | |
| Default constructor. | |
| wxSFOpenArrow (wxSFShapeBase *parent) | |
| User constructor. | |
| wxSFOpenArrow (const wxSFOpenArrow &obj) | |
| Copy constructor. | |
| virtual | ~wxSFOpenArrow (void) |
| Destructor. | |
| void | SetArrowPen (const wxPen &pen) |
| Set a pen used for drawing of the arrow. | |
| const wxPen & | GetArrowPen () const |
| Get current pen used for drawing of the arrow. | |
| virtual void | Draw (const wxRealPoint &from, const wxRealPoint &to, wxDC &dc) |
| Draw arrow shape at the end of a virtual line. | |
Protected Attributes | |
| wxPen | m_Pen |
| Arrow pen. | |
Class extends the wxSFArrowBase class and encapsulates arrow shape consisting of single two lines leading from the end of the parent line shape.
| wxSFOpenArrow::wxSFOpenArrow | ( | void | ) |
Default constructor.
| wxSFOpenArrow::wxSFOpenArrow | ( | wxSFShapeBase * | parent | ) |
User constructor.
| parent"> | Pointer to the parent shape |
| wxSFOpenArrow::wxSFOpenArrow | ( | const wxSFOpenArrow & | obj | ) |
Copy constructor.
| obj | Reference to the source object |
| virtual wxSFOpenArrow::~wxSFOpenArrow | ( | void | ) | [virtual] |
Destructor.
| virtual void wxSFOpenArrow::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 wxSFArrowBase.
| const wxPen& wxSFOpenArrow::GetArrowPen | ( | ) | const [inline] |
Get current pen used for drawing of the arrow.
| void wxSFOpenArrow::SetArrowPen | ( | const wxPen & | pen | ) | [inline] |
Set a pen used for drawing of the arrow.
| pen | Reference to the pen |
wxPen wxSFOpenArrow::m_Pen [protected] |
Arrow pen.