wxShapeFramework
1.13.0 beta
|
Class encapsulating algorithm which layouts all top-most shapes into mesh registered under "Mesh" name. The algorithm doesn't optimize connection lines crossing. More...
#include <AutoLayout.h>
Public Member Functions | |
wxSFLayoutMesh () | |
Constructor. | |
virtual | ~wxSFLayoutMesh () |
Destructor. | |
virtual void | DoLayout (ShapeList &shapes) |
Function performing the layout change. | |
void | SetHSpace (double HSpace) |
Set horizontal space between shapes. | |
void | SetVSpace (double VSpace) |
Set vertical space between shapes. | |
double | GetHSpace () const |
Get horizontal space. | |
double | GetVSpace () const |
Get vertical space. | |
Protected Attributes | |
double | m_HSpace |
double | m_VSpace |
Class encapsulating algorithm which layouts all top-most shapes into mesh registered under "Mesh" name. The algorithm doesn't optimize connection lines crossing.
wxSFLayoutMesh::wxSFLayoutMesh | ( | ) | [inline] |
Constructor.
virtual wxSFLayoutMesh::~wxSFLayoutMesh | ( | ) | [inline, virtual] |
Destructor.
virtual void wxSFLayoutMesh::DoLayout | ( | ShapeList & | shapes | ) | [virtual] |
Function performing the layout change.
shapes | List of shapes which should be layouted |
Implements wxSFLayoutAlgorithm.
double wxSFLayoutMesh::GetHSpace | ( | ) | const [inline] |
Get horizontal space.
double wxSFLayoutMesh::GetVSpace | ( | ) | const [inline] |
Get vertical space.
void wxSFLayoutMesh::SetHSpace | ( | double | HSpace | ) | [inline] |
Set horizontal space between shapes.
HSpace | Horizontal space in pixels. |
void wxSFLayoutMesh::SetVSpace | ( | double | VSpace | ) | [inline] |
Set vertical space between shapes.
VSpace | Vertical space in pixels. |
double wxSFLayoutMesh::m_HSpace [protected] |
double wxSFLayoutMesh::m_VSpace [protected] |