wxShapeFramework
1.13.0 beta
|
Class extends the wxSFArrowBase class and encapsulates arrow shape consisting of a solid triangle pointing to the end of the parent line shape. More...
#include <SolidArrow.h>
Public Member Functions | |
XS_DECLARE_CLONABLE_CLASS (wxSFSolidArrow) | |
wxSFSolidArrow (void) | |
Default constructor. | |
wxSFSolidArrow (wxSFShapeBase *parent) | |
User constructor. | |
wxSFSolidArrow (const wxSFSolidArrow &obj) | |
Copy constructor. | |
virtual | ~wxSFSolidArrow (void) |
Destructor. | |
void | SetArrowFill (const wxBrush &br) |
Set a brush filling the arrow's body. | |
void | SetArrowPen (const wxPen &pen) |
Set a pen used for drawing of the arrow's border. | |
const wxBrush & | GetArrowFill () const |
Get current brush used for filling of the arrow's body. | |
const wxPen & | GetArrowPen () const |
Get current pen used for drawing of the arrow's border. | |
virtual void | Draw (const wxRealPoint &from, const wxRealPoint &to, wxDC &dc) |
Draw arrow shape at the end of a virtual line. | |
Protected Member Functions | |
void | MarkSerializableDataMembers () |
Protected Attributes | |
wxBrush | m_Fill |
Arrows brush. | |
wxPen | m_Pen |
Arrow pen. |
Class extends the wxSFArrowBase class and encapsulates arrow shape consisting of a solid triangle pointing to the end of the parent line shape.
wxSFSolidArrow::wxSFSolidArrow | ( | void | ) |
Default constructor.
wxSFSolidArrow::wxSFSolidArrow | ( | wxSFShapeBase * | parent | ) |
User constructor.
parent | Pointer to the parent shape |
wxSFSolidArrow::wxSFSolidArrow | ( | const wxSFSolidArrow & | obj | ) |
Copy constructor.
obj | Reference to the source object |
virtual wxSFSolidArrow::~wxSFSolidArrow | ( | void | ) | [virtual] |
Destructor.
virtual void wxSFSolidArrow::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.
Reimplemented in wxSFCircleArrow, and wxSFDiamondArrow.
const wxBrush& wxSFSolidArrow::GetArrowFill | ( | ) | const [inline] |
Get current brush used for filling of the arrow's body.
const wxPen& wxSFSolidArrow::GetArrowPen | ( | ) | const [inline] |
Get current pen used for drawing of the arrow's border.
void wxSFSolidArrow::MarkSerializableDataMembers | ( | ) | [protected] |
void wxSFSolidArrow::SetArrowFill | ( | const wxBrush & | br | ) | [inline] |
Set a brush filling the arrow's body.
br | Reference to the brush |
void wxSFSolidArrow::SetArrowPen | ( | const wxPen & | pen | ) | [inline] |
Set a pen used for drawing of the arrow's border.
pen | Reference to the pen |
wxBrush wxSFSolidArrow::m_Fill [protected] |
Arrows brush.
wxPen wxSFSolidArrow::m_Pen [protected] |
Arrow pen.