Euphoria
Public Member Functions | Public Attributes | List of all members
eu::core::LoadedFont Struct Reference

Public Member Functions

int generate_new_index_from_private_use (const std::string &alias)
 
bool load_characters_from_font (const MemoryChunk &file_memory, int font_size, const std::string &chars)
 

Public Attributes

std::map< int, LoadedGlyphcodepoint_to_glyph
 
KerningMap kerning
 
std::map< std::string, intprivate_use_aliases
 
int next_private_use = 0xE000
 
float ascent = 0.0f
 
float descent = 0.0f
 
float line_gap = 0.0f
 

Detailed Description

Definition at line 50 of file loadedfont.h.

Member Function Documentation

◆ generate_new_index_from_private_use()

int eu::core::LoadedFont::generate_new_index_from_private_use ( const std::string &  alias)

◆ load_characters_from_font()

bool eu::core::LoadedFont::load_characters_from_font ( const MemoryChunk file_memory,
int  font_size,
const std::string &  chars 
)

Member Data Documentation

◆ ascent

float eu::core::LoadedFont::ascent = 0.0f

Definition at line 56 of file loadedfont.h.

◆ codepoint_to_glyph

std::map<int, LoadedGlyph> eu::core::LoadedFont::codepoint_to_glyph

Definition at line 52 of file loadedfont.h.

◆ descent

float eu::core::LoadedFont::descent = 0.0f

Definition at line 57 of file loadedfont.h.

◆ kerning

KerningMap eu::core::LoadedFont::kerning

Definition at line 53 of file loadedfont.h.

◆ line_gap

float eu::core::LoadedFont::line_gap = 0.0f

Definition at line 58 of file loadedfont.h.

◆ next_private_use

int eu::core::LoadedFont::next_private_use = 0xE000

Definition at line 55 of file loadedfont.h.

◆ private_use_aliases

std::map<std::string, int> eu::core::LoadedFont::private_use_aliases

Definition at line 54 of file loadedfont.h.


The documentation for this struct was generated from the following file: