libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
Loading...
Searching...
No Matches
font.hpp File Reference

SDL_ttf font and 2D text rendering wrappers. More...

#include "SDL.h"
#include "SDL_ttf.h"
#include <string>
#include "tee_stream.hpp"
#include <optional>
#include "wrapper.hpp"
Include dependency graph for font.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mx::Font
 RAII wrapper around a TTF_Font handle. More...
class  mx::Text
 Helper for rendering text strings with SDL_Renderer. More...

Namespaces

namespace  mx

Detailed Description

SDL_ttf font and 2D text rendering wrappers.

Definition in file font.hpp.