wxShapeFramework
1.13.0 beta
|
Class encapsulating the diamond shape. It extends the basic polygon shape. More...
#include <DiamondShape.h>
Public Member Functions | |
XS_DECLARE_CLONABLE_CLASS (wxSFDiamondShape) | |
wxSFDiamondShape () | |
Default constructor. | |
wxSFDiamondShape (const wxRealPoint &pos, wxSFDiagramManager *manager) | |
User constructor. | |
wxSFDiamondShape (const wxSFDiamondShape &obj) | |
Copy constructor. | |
virtual | ~wxSFDiamondShape () |
Destructor. | |
virtual bool | Contains (const wxPoint &pos) |
Test whether the given point is inside the shape. The function can be overrided if neccessary. |
Class encapsulating the diamond shape. It extends the basic polygon shape.
Default constructor.
wxSFDiamondShape::wxSFDiamondShape | ( | const wxRealPoint & | pos, |
wxSFDiagramManager * | manager | ||
) |
User constructor.
pos | Initial position |
manager | Pointer to parent diagram manager |
wxSFDiamondShape::wxSFDiamondShape | ( | const wxSFDiamondShape & | obj | ) |
Copy constructor.
obj | Reference to the source object |
virtual wxSFDiamondShape::~wxSFDiamondShape | ( | ) | [virtual] |
Destructor.
virtual bool wxSFDiamondShape::Contains | ( | const wxPoint & | pos | ) | [virtual] |
Test whether the given point is inside the shape. The function can be overrided if neccessary.
pos | Examined point |
Reimplemented from wxSFShapeBase.