Text
Write text to the screen.
Summary
Functions
| Name | |
|---|---|
| void | text(const std::u16string & str, Center center, Rotation rotation = {}) |
| void | text(const std::u16string & str, TopLeftCorner corner, Rotation rotation = {}) |
| void | text(const std::u16string & str, TopRightCorner corner, Rotation rotation = {}) |
| void | text(const std::u16string & str, BottomLeftCorner corner, Rotation rotation = {}) |
| void | text(const std::u16string & str, BottomRightCorner corner, Rotation rotation = {}) |
Attributes
| Name | |
|---|---|
| float | text_size Height of the text. |
| float | text_inflating Gives some "boldness" to the text. |
Functions
text()
voidtext(const std::u16string &str,Centercenter,Rotationrotation ={});
text()
voidtext(const std::u16string &str,TopLeftCornercorner,Rotationrotation ={});
text()
voidtext(const std::u16string &str,TopRightCornercorner,Rotationrotation ={});
text()
voidtext(const std::u16string &str,BottomLeftCornercorner,Rotationrotation ={});
text()
voidtext(const std::u16string &str,BottomRightCornercorner,Rotationrotation ={});
Attributes
text_size
float text_size = 0.03f;
Height of the text.
text_inflating
float text_inflating = 0.01f;
Gives some "boldness" to the text.
Updated on 2024 October 24