Terminal Graphics
Single-file, header-only C++20 functionality for producing graphics on the terminal using the sixel protocol
|
A class to hold the information about the font used for text rendering. More...
Public Member Functions | |
constexpr | Font (int width, int height, const std::span< const unsigned char > &data) |
constexpr int | width () const |
constexpr int | height () const |
bool | get (int offset, int x, int y) const |
template<typename ValueType> | |
void | render (Image< ValueType > &canvas, char c, int x, int y, int colour_index) const |
Static Public Member Functions | |
static constexpr const Font | get_font (int size=16) |
A class to hold the information about the font used for text rendering.
This is should not need to be used directly outside of this file.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inline |
|
inlinestaticconstexpr |