summaryrefslogtreecommitdiff
path: root/render/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'render/font.h')
-rw-r--r--render/font.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/render/font.h b/render/font.h
new file mode 100644
index 000000000..db10b20b2
--- /dev/null
+++ b/render/font.h
@@ -0,0 +1,22 @@
+/**
+ * $Id: font.h,v 1.1 2002/04/25 15:52:26 bursa Exp $
+ */
+
+/**
+ * structures and typedefs
+ */
+
+struct font_set;
+typedef unsigned int font_id;
+
+/**
+ * interface
+ */
+
+struct font_set * font_set_create(void);
+font_id font_add(struct font_set * font_set, const char * name, unsigned int weight,
+ unsigned int size);
+void font_set_free(struct font_set * font_set);
+unsigned long font_split(struct font_set * font_set, font_id id, const char * text,
+ unsigned long width, const char ** end);
+