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()
void
text(const std::u16string &
str,Center
center,Rotation
rotation ={});
text()
void
text(const std::u16string &
str,TopLeftCorner
corner,Rotation
rotation ={});
text()
void
text(const std::u16string &
str,TopRightCorner
corner,Rotation
rotation ={});
text()
void
text(const std::u16string &
str,BottomLeftCorner
corner,Rotation
rotation ={});
text()
void
text(const std::u16string &
str,BottomRightCorner
corner,Rotation
rotation ={});
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