diff options
author | James Bursa <james@netsurf-browser.org> | 2005-02-09 22:56:30 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2005-02-09 22:56:30 +0000 |
commit | e9dbce5471b2e4283bc13e5eeb6b2f5433944cc4 (patch) | |
tree | 003b6395974fd987a413427439e52193e9199a09 /rufl.h | |
parent | 3b86ee8e511f8811189a381e4d1f8864e49f1e5f (diff) | |
download | librufl-e9dbce5471b2e4283bc13e5eeb6b2f5433944cc4.tar.gz librufl-e9dbce5471b2e4283bc13e5eeb6b2f5433944cc4.tar.bz2 |
[project @ 2005-02-09 22:56:30 by bursa]
Implement rufl_width() by sharing code from rufl_paint().
svn path=/import/rufl/; revision=2445
Diffstat (limited to 'rufl.h')
-rw-r--r-- | rufl.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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. */ |