reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofTrueTypeFontSettings Struct Reference

#include <ofTrueTypeFont.h>

Public Member Functions

 ofTrueTypeFontSettings (const of::filesystem::path &name, int size)
 
void addRanges (std::initializer_list< ofUnicode::range > alphabet)
 
void addRange (const ofUnicode::range &range)
 

Public Attributes

of::filesystem::path fontName
 
int fontSize = 0
 
bool antialiased = true
 
bool contours = false
 
float simplifyAmt = 0.0f
 
int dpi = 0
 
int index = 0
 
ofTrueTypeFontDirection direction = OF_TTF_LEFT_TO_RIGHT
 
std::vector< ofUnicode::rangeranges
 

Constructor & Destructor Documentation

◆ ofTrueTypeFontSettings()

ofTrueTypeFontSettings::ofTrueTypeFontSettings ( const of::filesystem::path &  name,
int  size 
)
inline

Member Function Documentation

◆ addRange()

void ofTrueTypeFontSettings::addRange ( const ofUnicode::range range)
inline

◆ addRanges()

void ofTrueTypeFontSettings::addRanges ( std::initializer_list< ofUnicode::range alphabet)
inline

Member Data Documentation

◆ antialiased

bool ofTrueTypeFontSettings::antialiased = true

◆ contours

bool ofTrueTypeFontSettings::contours = false

◆ direction

ofTrueTypeFontDirection ofTrueTypeFontSettings::direction = OF_TTF_LEFT_TO_RIGHT

◆ dpi

int ofTrueTypeFontSettings::dpi = 0

◆ fontName

of::filesystem::path ofTrueTypeFontSettings::fontName

◆ fontSize

int ofTrueTypeFontSettings::fontSize = 0

◆ index

int ofTrueTypeFontSettings::index = 0

◆ ranges

std::vector<ofUnicode::range> ofTrueTypeFontSettings::ranges

◆ simplifyAmt

float ofTrueTypeFontSettings::simplifyAmt = 0.0f

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