#include <position.hpp>
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 Box &rBox, Ref_t refLeftTop=kLeftTop, Ref_t refRightBottom=kLeftTop) | |
| Create a new position relative to the given box. | |
| int | getLeft () const |
| Get the position relative to the left top corner of the box. | |
| int | getWidth () const |
| Get the size of the rectangle. | |
Definition at line 64 of file position.hpp.
|
|
Type for reference edge/corner.
Definition at line 68 of file position.hpp. |
1.4.2