summaryrefslogtreecommitdiff
path: root/rufl.h
diff options
context:
space:
mode:
Diffstat (limited to 'rufl.h')
-rw-r--r--rufl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/rufl.h b/rufl.h
index 1691da4..36d946a 100644
--- a/rufl.h
+++ b/rufl.h
@@ -64,6 +64,16 @@ rufl_code rufl_paint(const char *font_family, rufl_style font_style,
/**
+ * Measure the width of Unicode text.
+ */
+
+rufl_code rufl_width(const char *font_family, rufl_style font_style,
+ unsigned int font_size,
+ const char *string, size_t length,
+ int *width);
+
+
+/**
* Dump the internal library state to stdout.
*/