summaryrefslogtreecommitdiffstats
path: root/src/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/font.h')
-rw-r--r--src/font.h10
1 files changed, 7 insertions, 3 deletions
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 <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_ */