wxShapeFramework  1.13.0 beta
wxSFCircleArrow Class Reference

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>

Inheritance diagram for wxSFCircleArrow:
Collaboration diagram for wxSFCircleArrow:

List of all members.

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.

Detailed Description

Class extends the wxSFSolidBase class and encapsulates arrow shape consisting of a filled circle located at the end of the parent line shape.


Constructor & Destructor Documentation

Default constructor.

User constructor.

Parameters:
parentPointer to the parent shape

Copy constructor.

Parameters:
objReference to the source object
virtual wxSFCircleArrow::~wxSFCircleArrow ( void  ) [virtual]

Destructor.


Member Function Documentation

virtual void wxSFCircleArrow::Draw ( const wxRealPoint &  from,
const wxRealPoint &  to,
wxDC &  dc 
) [virtual]

Draw arrow shape at the end of a virtual line.

Parameters:
fromStart of the virtual line
toEnd of the virtual line
dcDevice context for drawing

Reimplemented from wxSFSolidArrow.

int wxSFCircleArrow::GetRadius ( ) const [inline]

Get radius of circle arrow.

Returns:
Radius if circle arrow
void wxSFCircleArrow::SetRadius ( int  radius) [inline]

Set radius of circle arrow.

Parameters:
radiusRadius of circle arrow

Member Data Documentation

int wxSFCircleArrow::m_nRadius [protected]

Circle radius.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines