Horizon
|
Public Types | |
enum | Flag { SELECTED = 1, PRELIGHT = 2 } |
Public Member Functions | |
bool | get_flag (Flag f) const |
void | set_flag (Flag f, bool v) |
Selectable (const Coordf ¢er, const Coordf &box_center, const Coordf &box_dim, float angle=0, bool always=false) | |
bool | inside (const Coordf &c, float expand=0) const |
float | area () const |
std::array< Coordf, 4 > | get_corners () const |
Public Attributes | |
float | x |
float | y |
float | c_x |
float | c_y |
float | width |
float | height |
float | angle |
uint8_t | flags |