Skip to main content

Text

Write text to the screen.

Summary

Functions

Name
voidtext(const std::u16string & str, Center center, Rotation rotation = {})
voidtext(const std::u16string & str, TopLeftCorner corner, Rotation rotation = {})
voidtext(const std::u16string & str, TopRightCorner corner, Rotation rotation = {})
voidtext(const std::u16string & str, BottomLeftCorner corner, Rotation rotation = {})
voidtext(const std::u16string & str, BottomRightCorner corner, Rotation rotation = {})

Attributes

Name
floattext_size
Height of the text.
floattext_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