summaryrefslogtreecommitdiff
path: root/rufl.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2006-07-17 03:24:53 +0000
committerJames Bursa <james@netsurf-browser.org>2006-07-17 03:24:53 +0000
commitd36d5c88aa7ca35235ac5251dc213bdd3b21919c (patch)
tree561cc0d69bc91809e3ee3a8b6912e48e75c9cd07 /rufl.h
parent154893363c30fa7400918b787e4cef49bc970234 (diff)
downloadlibrufl-d36d5c88aa7ca35235ac5251dc213bdd3b21919c.tar.gz
librufl-d36d5c88aa7ca35235ac5251dc213bdd3b21919c.tar.bz2
Implement rufl_font_bbox (interface to Font_ReadInfo).
svn path=/trunk/rufl/; revision=2772
Diffstat (limited to 'rufl.h')
-rw-r--r--rufl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/rufl.h b/rufl.h
index 7af35f3..b2a8d1f 100644
--- a/rufl.h
+++ b/rufl.h
@@ -126,6 +126,15 @@ rufl_code rufl_paint_callback(const char *font_family, rufl_style font_style,
/**
+ * Determine the maximum bounding box of a font.
+ */
+
+rufl_code rufl_font_bbox(const char *font_family, rufl_style font_style,
+ unsigned int font_size,
+ int *bbox);
+
+
+/**
* Dump the internal library state to stdout.
*/