3 stringsize, stringwidth, stringnwidth, runestringsize, runestringwidth, runestringnwidth \- graphical size of strings
15 Point stringsize(Font *f, char *s)
18 int stringwidth(Font *f, char *s)
21 int stringnwidth(Font *f, char *s, int n)
24 Point runestringsize(Font *f, Rune *s)
27 int runestringwidth(Font *f, Rune *s)
30 int runestringnwidth(Font *f, Rune *s, int n)
32 These routines compute the geometrical extent of character strings when drawn on the display. The most straightforward,
36 representing the vector from upper left to lower right of the NUL-terminated string
45 returns the width of the first
50 The routines beginning with
52 are analogous, but accept an array of runes rather than
56 .BR /lib/font/bit " directory of fonts
58 .B /usr/local/plan9/src/libdraw
68 Because strings are loaded dynamically, these routines may generate I/O
69 to the server and produce calls to the graphics error function.