| /plan9/sys/src/cmd/ |
| H A D | mc.c | 278 tabwidth = 4*stringwidth(font, "0"); in getwidth() 279 mintab = stringwidth(font, "0"); in getwidth() 310 mintab = stringwidth(font, "0"); in getwidth() 312 tabwidth = atoi(p)*stringwidth(font, "0"); in getwidth() 314 tabwidth = 4*stringwidth(font, "0"); in getwidth()
|
| H A D | trace.c | 251 rtime.min.x = rtime.max.x - stringwidth(mediumfont, "00000000000.000s"); in redraw() 445 string(screen, addpt(p, Pt(x - stringwidth(tinyfont, buf)/2, - tinyfont->height - 1)), in redraw() 453 string(screen, Pt(screen->r.max.x - stringwidth(mediumfont, buf), screen->r.min.y), in redraw()
|
| H A D | screenlock.c | 254 p = subpt(p, Pt(stringwidth(font, "m") * strlen(s) / 2, 0)); in lockscreen()
|
| /plan9/sys/lib/troff/font/devutf/charlib/ |
| H A D | ~= | 3 (\176) stringwidth pop neg size -.15 mul (\176\055) ashow
|
| /plan9/sys/src/libdraw/ |
| H A D | makefile | 33 stringwidth.$O\
|
| H A D | mkfile | 53 stringwidth.$O\
|
| H A D | stringwidth.c | 69 stringwidth(Font *f, char *s) in stringwidth() function
|
| H A D | emenuhit.c | 95 pt.x = (textr.min.x+textr.max.x-stringwidth(font, item))/2; in paintitem() 177 i = stringwidth(font, item); in emenuhit()
|
| H A D | menuhit.c | 96 pt.x = (textr.min.x+textr.max.x-stringwidth(font, item))/2; in paintitem() 174 i = stringwidth(font, item); in menuhit()
|
| /plan9/sys/src/libframe/ |
| H A D | frbox.c | 112 b->wid = stringwidth(f->font, (char *)b->ptr); in truncatebox() 126 b->wid = stringwidth(f->font, (char *)b->ptr); in chopbox()
|
| H A D | frinit.c | 13 f->maxtab = 8*stringwidth(ft, "0"); in frinit()
|
| /plan9/sys/lib/postscript/prologues/ |
| H A D | UTF.enc | 321 /stringwidth {UTFstring //stringwidth cvx exec} bind def
|
| H A D | Default.enc | 332 /stringwidth {UTFstring //stringwidth cvx exec} bind def
|
| /plan9/sys/src/cmd/postscript/psencoding/ |
| H A D | UTF.enc | 321 /stringwidth {UTFstring //stringwidth cvx exec} bind def
|
| /plan9/sys/src/ape/lib/draw/ |
| H A D | mkfile | 48 stringwidth.$O\
|
| /plan9/sys/src/cmd/scat/ |
| H A D | plot.c | 371 d = stringwidth(font, s); in drawdisc() 434 pt.x -= stringwidth(font, p->name)/2; in drawplanet() 697 p.x -= stringwidth(font, hm5(angle(ra)))/2; in plot() 700 p.x -= stringwidth(font, hm5(angle(ra)))/2; in plot() 722 p.x -= 3+stringwidth(font, deg(angle(y))); in plot()
|
| /plan9/sys/src/games/music/jukebox/ |
| H A D | music.c | 370 stringwidth(boldfont, tabs[i].tabname), tabht, 1024, tabht); in maketab() 394 w = stringwidth(romanfont, "Roll over Beethoven"); in makeplaycontrols() 413 w = stringwidth(romanfont, "Roll over Beethoven"); in makebrowsecontrols() 445 w = stringwidth(romanfont, "Roll over Beethoven"); in makeplaylistcontrols() 466 w = stringwidth(romanfont, "Roll over Beethoven"); in makeerrorcontrols()
|
| /plan9/sys/src/cmd/ip/ |
| H A D | gping.c | 778 dx = Labspace+stringwidth(mediumfont, "0")+Labspace; in resize() 789 dx = Labspace+stringwidth(mediumfont, "0.001")+Labspace; in resize() 804 j = dx/stringwidth(mediumfont, "0"); in resize() 851 n = (g->r.max.x - r.min.x)/stringwidth(mediumfont, "9"); in resize() 855 r.max.x = r.min.x+stringwidth(mediumfont, "9")*n; in resize()
|
| /plan9/sys/src/cmd/faces/ |
| H A D | main.c | 135 enddate.x += stringwidth(datefont, "Wed May 30 22:54"); /* nice wide string */ in drawtime() 195 dx = stringwidth(f, s); in center() 205 dx = stringwidth(f, s); in center()
|
| /plan9/sys/src/libcontrol/ |
| H A D | textbutton.c | 159 w = stringwidth(f, t->line[i]); in textbuttonshow() 175 q = _ctlalignpoint(r, stringwidth(f, t->line[i]), f->height, t->align%3); in textbuttonshow()
|
| H A D | menu.c | 109 w = stringwidth(f, m->line[i]); in menushow() 128 q = _ctlalignpoint(r, stringwidth(f, m->line[i]), f->height, m->align%3); in menushow()
|
| H A D | textbutton3.c | 184 w = stringwidth(f, t->line[i]); /*****/ in textbutton3show() 198 q = _ctlalignpoint(r, stringwidth(f, t->line[i]), f->height, t->align%3); in textbutton3show()
|
| H A D | label.c | 86 stringwidth(l->font->font, l->text), in labelshow()
|
| /plan9/sys/src/cmd/postscript/ |
| H A D | README | 35 /stringwidth {stringwidth} bind def
|
| /plan9/sys/lib/dist/cmd/ |
| H A D | bargraph.c | 109 ptext = Pt(r.max.x-4-stringwidth(display->defaultfont, "100%"), r.min.x+4); in eresized()
|