|
wxShapeFramework
1.13.0 beta
|
Class encapsulating algorithm which layouts all top-most shapes into vertical tree registered under "Vertical Tree" name. More...
#include <AutoLayout.h>


Public Member Functions | |
| wxSFLayoutVerticalTree () | |
| Constructor. More... | |
| virtual | ~wxSFLayoutVerticalTree () |
| Destructor. More... | |
| virtual void | DoLayout (ShapeList &shapes) |
| Function performing the layout change. More... | |
| void | SetHSpace (double HSpace) |
| Set horizontal space between shapes. More... | |
| void | SetVSpace (double VSpace) |
| Set vertical space between shapes. More... | |
| double | GetHSpace () const |
| Get horizontal space. More... | |
| double | GetVSpace () const |
| Get vertical space. More... | |
Public Member Functions inherited from wxSFLayoutAlgorithm | |
| virtual | ~wxSFLayoutAlgorithm () |
| Destructor. More... | |
Protected Member Functions | |
| void | ProcessNode (wxSFShapeBase *node, double y) |
| Process single shape. More... | |
Protected Member Functions inherited from wxSFLayoutAlgorithm | |
| wxRect | GetBoundingBox (const ShapeList &shapes) |
| Calculate bounding box surroundig given shapes. More... | |
| wxSize | GetShapesExtent (const ShapeList &shapes) |
| Get overall extent of all given shapes calculated as a sum of their width and height. More... | |
| wxRealPoint | GetShapesCenter (const ShapeList &shapes) |
| Get center point of given shapes. More... | |
| wxRealPoint | GetTopLeft (const ShapeList &shapes) |
| Get top-left point of bounding box surrounding given shapes. More... | |
Protected Attributes | |
| double | m_nMinX |
| int | m_nCurrMaxWidth |
| double | m_HSpace |
| double | m_VSpace |
Class encapsulating algorithm which layouts all top-most shapes into vertical tree registered under "Vertical Tree" name.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
virtual |
Function performing the layout change.
| shapes | List of shapes which should be layouted |
Implements wxSFLayoutAlgorithm.
|
inline |
Get horizontal space.
|
inline |
Get vertical space.
|
protected |
Process single shape.
| node | Pointer to processed shape. |
| y | Vertical position of the shape. |
|
inline |
Set horizontal space between shapes.
| HSpace | Horizontal space in pixels. |
|
inline |
Set vertical space between shapes.
| VSpace | Vertical space in pixels. |
|
protected |
|
protected |
|
protected |
|
protected |