#include <ft2build.h>
#include <freetype/ftglyph.h>
#include "utils.h"
#include <tuple>
#include <type_traits>
#include "utf8range.h"
Go to the source code of this file.
|
template<typename T > |
| teeui::Handle (T handle) -> Handle< T, HandleDelete< T > > |
|
| teeui::MAP_HANDLE_DELETER (FT_Face, FT_Done_Face) |
|
| teeui::MAP_HANDLE_DELETER (FT_Library, FT_Done_FreeType) |
|
bool | teeui::isBreakable (unsigned long codePoint) |
|
bool | teeui::isNewline (unsigned long codePoint) |
|
std::tuple< Error, Box< pxs >, UTF8Range< const char * > > | teeui::findLongestWordSequence (TextFace *face, const UTF8Range< const char * > &text, const Box< pxs > &boundingBox) |
|
Error | teeui::drawText (TextFace *face, const UTF8Range< const char * > &text, const PixelDrawer &drawPixel, PxPoint pen) |
|
◆ MAP_HANDLE_DELETER
#define MAP_HANDLE_DELETER |
( |
|
type, |
|
|
|
deleter |
|
) |
| |
Value: template <>
struct HandleDelete<
type> { \
void operator()(
type h) { deleter(h); } \
}
uint8_t type
Definition: pairing_connection.h:0