#include <cmath>
#include <bit>
#include "hb.h"
#include "hb-ft.h"
#include "fonts.hpp"
#include "parsers.hpp"
#include "simple_fs.hpp"
#include "system_state.hpp"
#include <unicode/ubrk.h>
#include <unicode/utypes.h>
#include <unicode/ubidi.h>
Go to the source code of this file.
|
constexpr uint16_t | text::pack_font_handle (uint32_t font_index, bool black, uint32_t size) |
|
bool | text::is_black_font (std::string_view txt) |
|
uint32_t | text::font_size (std::string_view txt) |
|
uint32_t | text::font_index (std::string_view txt) |
|
uint16_t | text::name_into_font_id (sys::state &state, std::string_view txt) |
|
int32_t | text::size_from_font_id (uint16_t id) |
|
bool | text::is_black_from_font_id (uint16_t id) |
|
font_selection | text::font_index_from_font_id (sys::state &state, uint16_t id) |
|
int32_t | text::transform_offset_b (int32_t x, int32_t y, int32_t btmap_x_off, int32_t btmap_y_off, uint32_t width, uint32_t height, uint32_t pitch) |
|
void | text::init_in_map (bool in_map[dr_size *dr_size], uint8_t const *bmp_data, int32_t btmap_x_off, int32_t btmap_y_off, uint32_t width, uint32_t height, uint32_t pitch) |
|
void | text::dead_reckoning (float distance_map[dr_size *dr_size], bool const in_map[dr_size *dr_size]) |
|