Inheritance diagram for Position:


Public Types | |
| enum | Ref_t { kLeftTop, kRightTop, kLeftBottom, kRightBottom } |
| Type for reference edge/corner. More... | |
Public Member Functions | |
| Position (int left, int top, int right, int bottom, const GenericRect &rRect, Ref_t refLeftTop, Ref_t refRightBottom, bool xKeepRatio, bool yKeepRatio) | |
| Create a new position relative to the given box. | |
| ~Position () | |
| virtual int | getLeft () const |
| Get the position relative to the left top corner of the box. | |
| virtual int | getTop () const |
| int | getRight () const |
| int | getBottom () const |
| virtual int | getWidth () const |
| Get the size of the rectangle. | |
| virtual int | getHeight () const |
| Ref_t | getRefLeftTop () const |
| Get the reference corners. | |
| Ref_t | getRefRightBottom () const |
the layout).
| enum Position::Ref_t |
| Position::Position | ( | int | left, | |
| int | top, | |||
| int | right, | |||
| int | bottom, | |||
| const GenericRect & | rRect, | |||
| Ref_t | refLeftTop, | |||
| Ref_t | refRightBottom, | |||
| bool | xKeepRatio, | |||
| bool | yKeepRatio | |||
| ) |
Create a new position relative to the given box.
| Position::~Position | ( | ) | [inline] |
| int Position::getLeft | ( | ) | const [virtual] |
| int Position::getTop | ( | ) | const [virtual] |
Implements GenericRect.
| int Position::getRight | ( | ) | const |
| int Position::getBottom | ( | ) | const |
| int Position::getWidth | ( | ) | const [virtual] |
| int Position::getHeight | ( | ) | const [virtual] |
Implements Box.
| Ref_t Position::getRefLeftTop | ( | ) | const [inline] |
Get the reference corners.
| Ref_t Position::getRefRightBottom | ( | ) | const [inline] |
1.5.1