diff options
author | James Bursa <james@netsurf-browser.org> | 2005-03-24 00:05:51 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2005-03-24 00:05:51 +0000 |
commit | 0d5d898413c1daa3d4b60a7865581d6582f1caef (patch) | |
tree | ec156dd473e167fe70e6a069b6c091eb9acee980 /rufl.h | |
parent | 40c281e5fc81ec404c2c98573bb8ce93c3f49672 (diff) | |
download | librufl-0d5d898413c1daa3d4b60a7865581d6582f1caef.tar.gz librufl-0d5d898413c1daa3d4b60a7865581d6582f1caef.tar.bz2 |
[project @ 2005-03-24 00:05:51 by bursa]
Implement rufl_split().
svn path=/import/rufl/; revision=2459
Diffstat (limited to 'rufl.h')
-rw-r--r-- | rufl.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -103,6 +103,17 @@ rufl_code rufl_x_to_offset(const char *font_family, rufl_style font_style, /** + * Find the prefix of a string that will fit in a specified width. + */ + +rufl_code rufl_split(const char *font_family, rufl_style font_style, + unsigned int font_size, + const char *string, size_t length, + int width, + size_t *char_offset, int *actual_x); + + +/** * Dump the internal library state to stdout. */ |