Euphoria
font.cc File Reference
#include "render/font.h"
#include <memory>
#include <map>
#include <algorithm>
#include <iostream>
#include "stb_rect_pack.h"
#include "log/log.h"
#include "core/image_draw.h"
#include "core/ui_text.h"
#include "core/utf8.h"
#include "assert/assert.h"
#include "core/image.h"
#include "io/vfs_path.h"
#include "core/stdutils.h"
#include "base/stringmerger.h"
#include "files/font.h"
#include "render/texture.h"
#include "render/spriterender.h"
#include "render/texturecache.h"

Go to the source code of this file.

Classes

struct  eu::render::UiTextCompileVisitor
 

Namespaces

 eu
 
 eu::render
 

Functions

core::LoadedFont eu::render::get_characters_from_single_image (io::FileSystem *fs, const files::font::SingleImage &img)
 
std::pair< Rectf, Rectf > eu::render::construct_character_rects (const stbrp_rect &src_rect, const core::LoadedGlyph &src_char, int image_width, int image_height)
 
vec2f eu::render::get_offset (Align alignment, const Rectf &extent)