getFontProperties method
Get the properties associated with a font.
The following read-write properties are provided by SDL:
TTF_PROP_FONT_OUTLINE_LINE_CAP_NUMBER
: The FT_Stroker_LineCap value used when setting the font outline, defaults toFT_STROKER_LINECAP_ROUND
.TTF_PROP_FONT_OUTLINE_LINE_JOIN_NUMBER
: The FT_Stroker_LineJoin value used when setting the font outline, defaults toFT_STROKER_LINEJOIN_ROUND
.TTF_PROP_FONT_OUTLINE_MITER_LIMIT_NUMBER
: The FT_Fixed miter limit used when setting the font outline, defaults to 0.
\param font the font to query. \returns a valid property ID on success or 0 on failure; call SDL_GetError() for more information.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL_ttf 3.0.0.
extern SDL_DECLSPEC SDL_PropertiesID SDLCALL TTF_GetFontProperties(TTF_Font *font)
Implementation
int getFontProperties() {
return ttfGetFontProperties(this);
}