Inheritance diagram for Anchor:


Public Member Functions | |
| Anchor (intf_thread_t *pIntf, const Position &rPosition, int range, int priority, const Bezier &rCurve, GenericLayout &rLayout) | |
| virtual | ~Anchor () |
| bool | isHanging (const Anchor &rOther) const |
Return true if the given anchor is hanged by this one Two conditions are required:
| |
| bool | canHang (const Anchor &rOther, int &xOffset, int &yOffset) const |
| Return true if the other anchor, moved by the (xOffset, yOffset) vector, is "hangable" by this one (i.e. | |
| bool | isPoint () const |
| const Position & | getPosition () const |
| int | getXPosAbs () const |
| int | getYPosAbs () const |
| Anchor::Anchor | ( | intf_thread_t * | pIntf, | |
| const Position & | rPosition, | |||
| int | range, | |||
| int | priority, | |||
| const Bezier & | rCurve, | |||
| GenericLayout & | rLayout | |||
| ) | [inline] |
| virtual Anchor::~Anchor | ( | ) | [inline, virtual] |
| bool Anchor::isHanging | ( | const Anchor & | rOther | ) | const |
Return true if the given anchor is hanged by this one Two conditions are required:
| bool Anchor::canHang | ( | const Anchor & | rOther, | |
| int & | xOffset, | |||
| int & | yOffset | |||
| ) | const |
Return true if the other anchor, moved by the (xOffset, yOffset) vector, is "hangable" by this one (i.e.
if it is in its range of action), else return false. When the function returns true, the xOffset and yOffset parameters are modified to indicate the position that the other anchor would take if hanged by this one (this position is calculated to minimize the difference with the old xOffset and yOffset, so that the window doesn't "jump" in a strange way).
| bool Anchor::isPoint | ( | ) | const [inline] |
| const Position& Anchor::getPosition | ( | ) | const [inline] |
| int Anchor::getXPosAbs | ( | ) | const [inline] |
| int Anchor::getYPosAbs | ( | ) | const [inline] |
1.5.1