Luanti 5.15.0-dev
 
Loading...
Searching...
No Matches
gui::SGUITTFace Struct Reference

#include <CGUITTFont.h>

+ Inheritance diagram for gui::SGUITTFace:
+ Collaboration diagram for gui::SGUITTFace:

Public Member Functions

 SGUITTFace (std::string &&buffer)
 
 ~SGUITTFace ()
 

Static Public Member Functions

static SGUITTFacecreateFace (std::string &&buffer)
 
static SGUITTFaceloadFace (const io::path &filename)
 

Public Attributes

FT_Face face
 

Static Private Member Functions

static FT_Library getFreeTypeLibrary ()
 

Private Attributes

std::string face_buffer
 

Static Private Attributes

static FT_Library freetype_library = nullptr
 
static size_t n_faces = 0
 

Constructor & Destructor Documentation

◆ SGUITTFace()

gui::SGUITTFace::SGUITTFace ( std::string && buffer)

References face, and n_faces.

Referenced by createFace(), and loadFace().

+ Here is the caller graph for this function:

◆ ~SGUITTFace()

gui::SGUITTFace::~SGUITTFace ( )

References face, freetype_library, and n_faces.

Member Function Documentation

◆ createFace()

SGUITTFace * gui::SGUITTFace::createFace ( std::string && buffer)
static

References SGUITTFace(), face, and getFreeTypeLibrary().

Referenced by FontEngine::setMediaFont().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFreeTypeLibrary()

FT_Library gui::SGUITTFace::getFreeTypeLibrary ( )
staticprivate

References FATAL_ERROR, and freetype_library.

Referenced by createFace(), and loadFace().

+ Here is the caller graph for this function:

◆ loadFace()

SGUITTFace * gui::SGUITTFace::loadFace ( const io::path & filename)
static

References SGUITTFace(), face, and getFreeTypeLibrary().

Referenced by FontEngine::getOrLoadFace().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ face

FT_Face gui::SGUITTFace::face

◆ face_buffer

std::string gui::SGUITTFace::face_buffer
private

◆ freetype_library

FT_Library gui::SGUITTFace::freetype_library = nullptr
staticprivate

Referenced by ~SGUITTFace(), and getFreeTypeLibrary().

◆ n_faces

size_t gui::SGUITTFace::n_faces = 0
staticprivate

Referenced by SGUITTFace(), and ~SGUITTFace().


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