stc
Loading...
Searching...
No Matches
Classes | Functions
stc::FntParser Namespace Reference

Classes

struct  FntCharInfo
 
struct  FntInfo
 

Functions

std::vector< float > generateUVCoords (int atlasWidth, int atlasHeight, const FntCharInfo &chr)
 
std::map< std::string, std::any > parseLine (const std::string &line)
 
FntInfo loadAndParseFnt (const std::string &fileName)
 

Function Documentation

◆ generateUVCoords()

std::vector< float > stc::FntParser::generateUVCoords ( int  atlasWidth,
int  atlasHeight,
const FntCharInfo chr 
)
inline

◆ loadAndParseFnt()

FntInfo stc::FntParser::loadAndParseFnt ( const std::string &  fileName)
inline

◆ parseLine()

std::map< std::string, std::any > stc::FntParser::parseLine ( const std::string &  line)
inline