aboutsummaryrefslogtreecommitdiff
path: root/draw/textw.c
blob: a8407f62158c51f588131bd39b0d98ab0fa21fa2 (plain)
1
2
3
4
5
6
7
8
9
/* See LICENSE file for copyright and license details. */
#include <string.h>
#include <X11/Xlib.h>
#include "draw.h"

int
textw(DC *dc, const char *text) {
	return textnw(dc, text, strlen(text)) + dc->font.height;
}