|
wxShapeFramework
1.13.0 beta
|
Class encapsulating algorithm which layouts all top-most shapes into circle registered under "Circle" name. The algorithm doesn't optimize connection lines crossing. More...
#include <AutoLayout.h>


Public Member Functions | |
| wxSFLayoutCircle () | |
| Constructor. | |
| virtual | ~wxSFLayoutCircle () |
| Destructor. | |
| virtual void | DoLayout (ShapeList &shapes) |
| Function performing the layout change. | |
| void | SetDistanceRatio (double DistanceRatio) |
| Set ratio in which calculated distance between shapes will be reduced. Values less than 1 means that the distance will be smaller, values bigger than 1 means that the distance will be bigger. | |
| double | GetDistanceRatio () const |
| Get distance ratio. | |
Protected Attributes | |
| double | m_DistanceRatio |
Class encapsulating algorithm which layouts all top-most shapes into circle registered under "Circle" name. The algorithm doesn't optimize connection lines crossing.
| wxSFLayoutCircle::wxSFLayoutCircle | ( | ) | [inline] |
Constructor.
| virtual wxSFLayoutCircle::~wxSFLayoutCircle | ( | ) | [inline, virtual] |
Destructor.
| virtual void wxSFLayoutCircle::DoLayout | ( | ShapeList & | shapes | ) | [virtual] |
Function performing the layout change.
| shapes | List of shapes which should be layouted |
Implements wxSFLayoutAlgorithm.
| double wxSFLayoutCircle::GetDistanceRatio | ( | ) | const [inline] |
Get distance ratio.
| void wxSFLayoutCircle::SetDistanceRatio | ( | double | DistanceRatio | ) | [inline] |
Set ratio in which calculated distance between shapes will be reduced. Values less than 1 means that the distance will be smaller, values bigger than 1 means that the distance will be bigger.
| DistanceRatio | Distance ratio |
double wxSFLayoutCircle::m_DistanceRatio [protected] |