|
|
template<typename OBJ , typename A , typename V > |
| void | setAlign (const OBJ &owner, const A &axis, const V &value) |
| | Low-level, "atomic" setter of alignment for OBJECT itself or its ANCHOR object.
|
| |
| void | setAlign (const AlignBase::Axis &axis, const AlignBase::Pos &pos, Topol topol=Topol::INSIDE) |
| | Set a single alignment setting. "Intermediate-level": axis and pos are given separately.
|
| |
|
template<typename ... T, typename AX , AlignBase::Axis A> |
| void | setAlign (const Alignment< AX, A > &align, const T... args) |
| | NEW High-level, user friendlier interface for setting INSIDE the alignments for both OBJECT itself and its ANCHOR object.
|
| |
|
template<typename AX1 , AlignBase::Axis A1, typename AX2 , AlignBase::Axis A2> |
| void | setAlign (const Alignment< AX1, A1 > &align1, const Alignment< AX2, A2 > &align2) |
| |
|
template<typename AX , AlignBase::Axis A> |
| void | setAlign (const Alignment< AX, A > &align1, const Alignment< AX, A > &align2) |
| | Compiler trap: unimplemented for two of same kind: either HorzAlign or VertAlign twice.
|
| |
|
template<typename T > |
| void | setAlign (const std::string &align, const T &topol) |
| | High-level, user friendlier interface for setting the alignments for both OBJECT itself and its ANCHOR object.
|
| |
| void | setAlign (const std::string &align) |
| | High-level, user friendly interface for setting the alignments for both OBJECT itself and its ANCHOR object.
|
| |
|
bool | isAligned () const |
| | Returns true, if any setting is set...
|
| |
|
void | resetAlign () |
| |
|
void | swapAlign (AlignSVG &align) |
| |
|
template<typename P , typename A > |
| AlignBase::Pos & | getAlign (const P &pos, const A &axis) |
| | Return alignment setting of an object along horizontal or vertical axis .
|
| |
|
template<typename P , typename A > |
| const AlignBase::Pos & | getAlign (const P &pos, const A &axis) const |
| | Return alignment setting of an object along horizontal or vertical axis .
|
| |
| void | confToStream (std::ostream &ostr) const |
| |
|
const std::string & | getAlignStr () const |
| |
|
void | swapAlign () |
| |
|
template<typename OBJ , typename A > |
| AlignBase::Pos & | getAlign (const OBJ &owner, const A &axis) |
| |
|
template<typename OBJ , typename A > |
| const AlignBase::Pos & | getAlign (const OBJ &owner, const A &axis) const |
| |
User-friendly programming interface for alignment considering two elements.
Designed to be contained by SVG elements. Considers two elements, or more specifically, the bounding boxes of two elements.