1 #ifndef BLANK_UI_TEXT_HPP_
2 #define BLANK_UI_TEXT_HPP_
4 #include "../graphics/align.hpp"
5 #include "../graphics/glm.hpp"
6 #include "../graphics/Texture.hpp"
7 #include "../graphics/SpriteMesh.hpp"
22 void Set(const Font &, const char *);
23 void Set(const Font &f, const std::string &s) {
27 Gravity Pivot() const noexcept { return pivot; }
28 void Pivot(Gravity p) noexcept {
33 const glm::vec2 &Size() const noexcept { return size; }
35 void Render(Viewport &) noexcept;