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

Method Size

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

//////////////////////// \brief Get size of the text object in pixels Get size of TextObject when rendered on screen \return Return Vector2i containing the size of the text object in pixels ////////////////////////

Source from the content-addressed store, hash-verified

95 /// \return Return Vector2i containing the size of the text object in pixels
96 /////////////////////////////
97 inline vector2i_t Size(){
98 if(textDirty){
99 CalculateSizes();
100 }
101 return textSize;
102 }
103
104 /////////////////////////////
105 /// \brief Get position of TextObject

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected