1 #ifndef BLANK_GRAPHICS_FONT_HPP_
2 #define BLANK_GRAPHICS_FONT_HPP_
15 Font(const char *src, int size, long index = 0);
18 Font(Font &&) noexcept;
19 Font &operator =(Font &&) noexcept;
21 Font(const Font &) = delete;
22 Font &operator =(const Font &) = delete;
25 bool Kerning() const noexcept;
26 void Kerning(bool) noexcept;
28 int Height() const noexcept;
29 int Ascent() const noexcept;
30 int Descent() const noexcept;
31 int LineSkip() const noexcept;
33 bool HasGlyph(Uint16) const noexcept;
35 glm::tvec2<int> TextSize(const char *) const;
37 Texture Render(const char *, SDL_Color) const;