This is a group of utility methods.
◆ getCredit()
void OpenFontRender::getCredit |
( |
char * |
str | ) |
|
Get using FreeType credit text.
- Parameters
-
[out] | (*str) | FreeType credit string. |
- Note
- The minimum string length required can be obtained with
OpenFontRender::CREDIT_STRING_SIZE
.
- Attention
- An array of sufficient length must be passed as an argument.
◆ getFreeTypeVersion()
void OpenFontRender::getFreeTypeVersion |
( |
char * |
str | ) |
|
Get using FreeType version text.
- Parameters
-
[out] | (*str) | FreeType version string. |
- Note
- The minimum string length required can be obtained with
OpenFontRender::FT_VERSION_STRING_SIZE
.
- Attention
- An array of sufficient length must be passed as an argument.
◆ setDebugLevel()
void OpenFontRender::setDebugLevel |
( |
uint8_t |
level | ) |
|
Set debug output level.
- Parameters
-
- Note
- The OFR_DEBUG_LEVEL enumeration is recommended for specifying the debug level.
-
Multiple levels can be specified for debugging levels simultaneously using the
OR
operation.
◆ setSerial()
template<typename T >
static void OpenFontRender::setSerial |
( |
T & |
output | ) |
|
|
inlinestatic |
Set up serial output control functions.
- Template Parameters
-
- Parameters
-
[in] | (&output) | Instance for serial control. |
- Attention
- To use this function, it must be possible to call the
print
method on the instance given as the argument.
- Note
- This function only calls the setPrintFunc() method internally.
◆ showCredit()
void OpenFontRender::showCredit |
( |
| ) |
|
Show FreeType credit.
- See also
- setSerial, setPrintFunc
- Note
- Need to set external output function.
-
Use the
setSerial
or setPrintFunc
function to set the external output function.
◆ showFreeTypeVersion()
void OpenFontRender::showFreeTypeVersion |
( |
| ) |
|
Show using FreeType version.
- See also
- setSerial, setPrintFunc
- Note
- Need to set external output function.
-
Use the
setSerial
or setPrintFunc
function to set the external output function.