#include <canvas.h>
Definition at line 17 of file canvas.h.
◆ begin()
◆ draw_horizontal_line()
void eu::window::Canvas::draw_horizontal_line |
( |
float |
ry, |
|
|
ImU32 |
grid_color |
|
) |
| const |
◆ draw_vertical_line()
void eu::window::Canvas::draw_vertical_line |
( |
float |
rx, |
|
|
ImU32 |
grid_color |
|
) |
| const |
◆ end()
◆ from_screen_to_world()
ImVec2 eu::window::Canvas::from_screen_to_world |
( |
const ImVec2 & |
v | ) |
const |
◆ from_world_to_screen()
ImVec2 eu::window::Canvas::from_world_to_screen |
( |
const ImVec2 & |
v | ) |
const |
◆ from_world_to_screen_size()
ImVec2 eu::window::Canvas::from_world_to_screen_size |
( |
const ImVec2 & |
v | ) |
const |
◆ get_mouse()
ImVec2 eu::window::Canvas::get_mouse |
( |
| ) |
const |
◆ show_grid()
void eu::window::Canvas::show_grid |
( |
const CanvasConfig & |
cc | ) |
const |
◆ show_ruler() [1/2]
void eu::window::Canvas::show_ruler |
( |
const CanvasConfig & |
cc | ) |
const |
◆ show_ruler() [2/2]
void eu::window::Canvas::show_ruler |
( |
float |
ruler_interval, |
|
|
ImU32 |
ruler_color, |
|
|
float |
length |
|
) |
| const |
◆ position
ImVec2 eu::window::Canvas::position = ImVec2 {0, 0} |
◆ view
The documentation for this struct was generated from the following files: