1 | // Aseprite |
2 | // Copyright (C) 2001-2015 David Capello |
3 | // |
4 | // This program is distributed under the terms of |
5 | // the End-User License Agreement for Aseprite. |
6 | |
7 | #ifndef APP_UTIL_FREETYPE_UTILS_H_INCLUDED |
8 | #define APP_UTIL_FREETYPE_UTILS_H_INCLUDED |
9 | #pragma once |
10 | |
11 | #include "doc/color.h" |
12 | |
13 | #include <string> |
14 | |
15 | namespace doc { |
16 | class Image; |
17 | } |
18 | |
19 | namespace app { |
20 | |
21 | doc::Image* render_text(const std::string& fontfile, int fontsize, |
22 | const std::string& text, |
23 | doc::color_t color, |
24 | bool antialias); |
25 | |
26 | } // namespace app |
27 | |
28 | #endif |
29 | |