![]() |
|
Higher level controller for setting alignments. More...
#include <LayoutSVG.h>

Public Types | |
| enum | Direction { UNDEFINED_DIRECTION =0 , INCR = 1 , DECR = 2 } |
| Direction for "Stacked", horziontally or vertically sequentially aligned layout. More... | |
| enum | GroupType { STACK_LAYOUT , ADAPTER , ALIGN , COMPOUND , FIXED , INDEPENDENT , INEFFECTIVE , CROP } |
| Experimental SVG style classes (requests) | |
Protected Types | |
| typedef drain::EnumFlagger< drain::SingleFlagger< AlignBase::Axis > > | AxisFlagger |
| typedef drain::EnumFlagger< drain::SingleFlagger< Direction > > | DirectionFlagger |
Protected Member Functions | |
| LayoutSVG (AlignBase::Axis v=AlignBase::HORZ, Direction d=INCR) | |
| LayoutSVG (const LayoutSVG &layout) | |
| template<typename V > | |
| void | setOrientation (const V &axis) |
| Set orientation: horizontal or vertical axis. | |
| template<typename D > | |
| void | setDirection (const D &dir) |
| Set direction: coordinates increasing or decreasing. | |
| template<typename D , typename V > | |
| void | set (const D &d, const V &v) |
| Set direction and orientation. | |
Protected Attributes | |
| AxisFlagger | orientation = AlignBase::HORZ |
| DirectionFlagger | direction = INCR |
Higher level controller for setting alignments.
Also applied by PanelSVG
| enum Direction |
Direction for "Stacked", horziontally or vertically sequentially aligned layout.
Typically, the axis is Align::Axis .
|
inlineprotected |
Set direction: coordinates increasing or decreasing.
| D | - enum type LayoutSVG::Direction or string. |
| dir | - direction as enum type (INCR or DECR) or string. |
|
inlineprotected |
Set orientation: horizontal or vertical axis.
| V | - enum type AlignBase::Axis or string. |
| axis | - axis as enum type (HORZ or VERT) or string. |
1.9.8