#include "app/gui/canvas/coordinate_mapper.h"#include <algorithm>#include <cmath>#include "app/gui/canvas/canvas.h"
Go to the source code of this file.
Namespaces | |
| namespace | yaze |
| namespace | yaze::gui |
| Graphical User Interface (GUI) components for the application. | |
Functions | |
| TileHitInfo | yaze::gui::ScreenToTileQuick (const CanvasRuntime &runtime, float screen_x, float screen_y, float tile_size=16.0f) |
| Quick screen-to-tile lookup using canvas runtime state. | |
| int | yaze::gui::CalculateTileIndex (float local_x, float local_y, float tile_size, int tiles_per_row) |
| Calculate tile index from local position and grid settings. | |
| ImVec4 | yaze::gui::GetTileBounds (int tile_x, int tile_y, float tile_size, float scale) |
| Get tile bounds in canvas space. | |