|
coastline 0.0.4
|
The draw of a TextGrid with the font embedded in the program, and the mouse pointer the program draws over it. More...
#include <array>#include <memory>#include <optional>#include "scenerenderer.h"#include "textgrid.h"
Go to the source code of this file.
Classes | |
| class | coastline::TextFont |
| The texture of the 256 glyphs of the font and of the mouse pointer. More... | |
Namespaces | |
| namespace | coastline |
Functions | |
| Matrix4 | coastline::TextGridProjection (float aspect) |
| std::array< int, 2 > | coastline::GridPointInWindow (float windowWidth, float windowHeight, float frameAspect, float x, float y) |
| The place of the mouse on the grid, with the frame fitted to the window and the grid to the frame as TextGridProjection() fits it. | |
Variables | |
| constexpr int | coastline::GRID_WIDTH = GRID_COLUMNS * CELL_WIDTH |
| The width of the grid in pixels, 640. | |
| constexpr int | coastline::GRID_HEIGHT = GRID_ROWS * CELL_HEIGHT |
| The height of the grid in pixels, 400. | |
The draw of a TextGrid with the font embedded in the program, and the mouse pointer the program draws over it.