Text

Undocumented in source.

Members

Functions

GetTextSize
Vec2!int GetTextSize(Project project)

returns the size in pixels of the text

HandleEvent
bool HandleEvent(Project project, SDL_Event e)
Undocumented in source. Be warned that the author may not have intended to support it.
Render
void Render(Project project)
Undocumented in source. Be warned that the author may not have intended to support it.
SetText
void SetText(string newText)

sets the text that is rendered

Variables

colour
SDL_Color colour;
Undocumented in source.
pos
Vec2!int pos;
Undocumented in source.
scale
float scale;
Undocumented in source.

Meta