aboutsummaryrefslogtreecommitdiff
path: root/include/mglpp/graphics/Font.hpp
blob: 1faa23a9ce0b8c73186ca4386930ef0f5a6d0430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MGLPP_FONT_HPP
#define MGLPP_FONT_HPP

extern "C" {
#include <mgl/graphics/font.h>
}

namespace mgl {
    class Font {
    public:
        Font();
        ~Font();

        bool load_from_file(const char *filepath, unsigned int font_size);

        mgl_font* internal_font();
    private:
        mgl_font font;
    };
}

#endif /* MGLPP_FONT_HPP */