diff options
Diffstat (limited to 'src/font.h')
-rw-r--r-- | src/font.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -19,8 +19,8 @@ * along with fbcon2png. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef FONT_H -#define FONT_H +#ifndef FONT_H_ +#define FONT_H_ #include <png.h> @@ -35,4 +35,8 @@ font_get_width(struct font *font) __attribute__((pure)); int font_get_height(struct font *font) __attribute__((pure)); -#endif /* FONT_H */ +void +font_render(struct font *font, png_const_colorp fg, png_const_colorp bg, + char ch, png_bytepp rows, int row, int col); + +#endif /* FONT_H_ */ |