MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / FontSize

Method FontSize

LibLemon/include/lemon/gfx/text.h:84–88  ·  view source on GitHub ↗

//////////////////////// \brief Get size of the font being rendered Note that this is the font size not the screen size of the text object \return Font size as int ////////////////////////

Source from the content-addressed store, hash-verified

82 /// \return Font size as int
83 /////////////////////////////
84 inline int FontSize(){
85 assert(font);
86
87 return font->height;
88 }
89
90 /////////////////////////////
91 /// \brief Get size of the text object in pixels

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected