From 7fc0d5367622770593312c4244dff9ccf46e6b03 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 17 Jul 2019 18:34:39 -0400 Subject: font_render(): New function --- (limited to 'src/font.h') diff --git a/src/font.h b/src/font.h index 0e22c55..ee3942e 100644 --- a/src/font.h +++ b/src/font.h @@ -19,8 +19,8 @@ * along with fbcon2png. If not, see . */ -#ifndef FONT_H -#define FONT_H +#ifndef FONT_H_ +#define FONT_H_ #include @@ -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_ */ -- cgit v0.9.1