Horizon
|
Public Types | |
enum class | Flag { SELECTED = 1 , PRELIGHT = 2 , ALWAYS = 4 , PREVIEW = 8 , ARC_CENTER_IS_MIDPOINT = 16 } |
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 |
bool | is_line () const |
bool | is_point () const |
bool | is_box () const |
bool | is_arc () const |
Coordf | get_arc_center () 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 |