|
enum | Flag {
SELECTED = 1,
PRELIGHT = 2,
ALWAYS = 4,
PREVIEW = 8,
SELECTED = 1,
PRELIGHT = 2,
ALWAYS = 4,
PREVIEW = 8
} |
|
enum | Flag {
SELECTED = 1,
PRELIGHT = 2,
ALWAYS = 4,
PREVIEW = 8,
SELECTED = 1,
PRELIGHT = 2,
ALWAYS = 4,
PREVIEW = 8
} |
|
|
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 |
|
std::array< Coordf, 4 > | get_corners () const |
|
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 |
|
std::array< Coordf, 4 > | get_corners () const |
|
|
float | x |
|
float | y |
|
float | c_x |
|
float | c_y |
|
float | width |
|
float | height |
|
float | angle |
|
uint8_t | flags |
|
The documentation for this class was generated from the following files:
- horizon-eda-1.3.0/src/canvas/selectables.hpp
- horizon-eda-1.3.0/src/canvas/selectables.cpp