![]() |
Max OS 0.3
|
Defines a Font class for drawing text onto a graphics context. More...
#include <cstdint>#include <common/graphicsContext.h>#include <common/rectangle.h>#include <common/string.h>Go to the source code of this file.
Classes | |
| class | MaxOS::gui::Font |
| A class that can be used to draw text. More... | |
Variables | |
| constexpr uint8_t | MaxOS::gui::FONT_PADDING = 3 |
| How many vertical pixels to add to the top and bottom of the font to prevent squishing. | |
| constexpr uint8_t | MaxOS::gui::FONT_HEIGHT = 8 + (2 * FONT_PADDING) |
| How many pixels tall the font is. | |
| constexpr uint8_t | MaxOS::gui::FONT_WIDTH = 8 |
| How many pixels wide the font is. | |
Defines a Font class for drawing text onto a graphics context.
Definition in file font.h.
|
constexpr |
How many pixels tall the font is.
Definition at line 20 of file font.h.
Referenced by MaxOS::drivers::console::VESABootConsole::height(), MaxOS::drivers::console::VESABootConsole::put_character(), and MaxOS::drivers::console::VESABootConsole::scroll_up().
|
constexpr |
|
constexpr |
How many pixels wide the font is.
Definition at line 21 of file font.h.
Referenced by MaxOS::drivers::console::VESABootConsole::scroll_up(), and MaxOS::drivers::console::VESABootConsole::width().