#include "utils/ColorUtils.h"
#include <assert.h>
#include <math.h>
#include <stdint.h>
#include <string>
#include <vector>
Go to the source code of this file.
|
typedef uint32_t | character_t |
|
typedef std::vector< character_t > | vecText |
|
|
constexpr int | XBFONT_LEFT = 0 |
| Align X left.
|
|
constexpr int | XBFONT_RIGHT = (1 << 0) |
| Align X right.
|
|
constexpr int | XBFONT_CENTER_X = (1 << 1) |
| Align X center.
|
|
constexpr int | XBFONT_CENTER_Y = (1 << 2) |
| Align Y center.
|
|
constexpr int | XBFONT_TRUNCATED = (1 << 3) |
| Truncated text.
|
|
constexpr int | XBFONT_JUSTIFIED = (1 << 4) |
| Justify text.
|
|
constexpr int | FONT_STYLE_NORMAL = 0 |
|
constexpr int | FONT_STYLE_BOLD = (1 << 0) |
|
constexpr int | FONT_STYLE_ITALICS = (1 << 1) |
|
constexpr int | FONT_STYLE_LIGHT = (1 << 2) |
|
constexpr int | FONT_STYLE_UPPERCASE = (1 << 3) |
|
constexpr int | FONT_STYLE_LOWERCASE = (1 << 4) |
|
constexpr int | FONT_STYLE_CAPITALIZE = (1 << 5) |
|
constexpr int | FONT_STYLE_MASK = 0xFF |
|
constexpr int | FONT_STYLES_COUNT = 7 |
|