From 4508fd2c4ee3171bdc1bffb7e53ecda8290292ef Mon Sep 17 00:00:00 2001 From: Connor Lane Smith Date: Thu, 24 Jun 2010 17:44:35 +0100 Subject: moved draw.c to libdraw.a --- draw/textw.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 draw/textw.c (limited to 'draw/textw.c') diff --git a/draw/textw.c b/draw/textw.c new file mode 100644 index 0000000..a8407f6 --- /dev/null +++ b/draw/textw.c @@ -0,0 +1,9 @@ +/* See LICENSE file for copyright and license details. */ +#include +#include +#include "draw.h" + +int +textw(DC *dc, const char *text) { + return textnw(dc, text, strlen(text)) + dc->font.height; +} -- cgit v1.2.3-54-g00ecf