|
Euphoria
|
Static Public Member Functions | |
| static Rect | from_left_right_bottom_top (float left_side, float right_side, float bottom_side, float top_side) |
| static Rect | from_left_right_top_bottom (float left_side, float right_side, float top_side, float bottom_side) |
| static Rect | from_bottom_left_size (const v2 &bl, const v2 &size) |
| static Rect | from_top_left_size (const v2 &top_left, const v2 &size) |
| static Rect | from_size (const v2 &size) |
| static Rect | from_point (const v2 &point) |
| static Rect | from_center_inside_other (const Rect &self, const Rect &other) |
| centers the self rectangle inside the other rectangle | |
| static Rect | from_scaled (const Rect &self, float scale) |
| scaled copy around rect center | |
Public Attributes | |
| float | left |
| float | right |
| float | top |
| float | bottom |
| eu::Rect::Rect | ( | ) |
centers the self rectangle inside the other rectangle
|
static |
|
static |
scaled copy around rect center
| v2 eu::Rect::get_bottom_left | ( | ) | const |
| v2 eu::Rect::get_bottom_right | ( | ) | const |
| v2 eu::Rect::get_center_pos | ( | ) | const |
| v2 eu::Rect::get_relative_center_pos | ( | ) | const |
| v2 eu::Rect::get_size | ( | ) | const |
| v2 eu::Rect::get_top_left | ( | ) | const |
| v2 eu::Rect::get_top_right | ( | ) | const |
| bool eu::Rect::is_empty | ( | ) | const |
| bool eu::Rect::is_valid | ( | ) | const |
| void eu::Rect::set_empty | ( | ) |