|
static bool | getRect (TreeSVG &group, drain::Box< double > &rect) |
| Returns the bounding box defined here as (x,y,width,height) of a single element.
|
|
static void | getBoundingFrame (TreeSVG &group, drain::Frame2D< int > &frame, PanelConfSVG::Orientation orientation=PanelConfSVG::UNDEFINED_ORIENTATION) |
| Computes the width and height for a bounding box IMAGE and RECT elements. More...
|
|
static void | alignSequence (TreeSVG &group, const drain::Frame2D< int > &frame, const drain::Point2D< int > &start={0, 0}, PanelConfSVG::Orientation orientation=PanelConfSVG::UNDEFINED_ORIENTATION, PanelConfSVG::Direction direction=PanelConfSVG::UNDEFINED_DIRECTION) |
| Stack IMAGE and RECT elements within a frame (width x height) to a row or column.
|
|
static void | alignText (TreeSVG &group) |
| Moves TEXT elems to desired positions, esp corners (LEFT|RIGHT), (TOP|BOTTOM) More...
|
|
◆ alignText()
void alignText |
( |
TreeSVG & |
group | ) |
|
|
static |
Moves TEXT elems to desired positions, esp corners (LEFT|RIGHT), (TOP|BOTTOM)
Book keeping
◆ getBoundingFrame()
void getBoundingFrame |
( |
TreeSVG & |
group, |
|
|
drain::Frame2D< int > & |
frame, |
|
|
PanelConfSVG::Orientation |
orientation = PanelConfSVG::UNDEFINED_ORIENTATION |
|
) |
| |
|
static |
Computes the width and height for a bounding box IMAGE and RECT elements.
The result is the minimal bounding box that covers the IMAGE and RECT elements aligned non-overlapping in a row (orientation HORZ
) or a column (orientation VERT
).
The documentation for this struct was generated from the following files: