Home
last modified time | relevance | path

Searched refs:stringwidth (Results 1 – 25 of 45) sorted by relevance

12

/plan9/sys/src/cmd/
H A Dmc.c278 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 Dtrace.c251 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 Dscreenlock.c254 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 Dmakefile33 stringwidth.$O\
H A Dmkfile53 stringwidth.$O\
H A Dstringwidth.c69 stringwidth(Font *f, char *s) in stringwidth() function
H A Demenuhit.c95 pt.x = (textr.min.x+textr.max.x-stringwidth(font, item))/2; in paintitem()
177 i = stringwidth(font, item); in emenuhit()
H A Dmenuhit.c96 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 Dfrbox.c112 b->wid = stringwidth(f->font, (char *)b->ptr); in truncatebox()
126 b->wid = stringwidth(f->font, (char *)b->ptr); in chopbox()
H A Dfrinit.c13 f->maxtab = 8*stringwidth(ft, "0"); in frinit()
/plan9/sys/lib/postscript/prologues/
H A DUTF.enc321 /stringwidth {UTFstring //stringwidth cvx exec} bind def
H A DDefault.enc332 /stringwidth {UTFstring //stringwidth cvx exec} bind def
/plan9/sys/src/cmd/postscript/psencoding/
H A DUTF.enc321 /stringwidth {UTFstring //stringwidth cvx exec} bind def
/plan9/sys/src/ape/lib/draw/
H A Dmkfile48 stringwidth.$O\
/plan9/sys/src/cmd/scat/
H A Dplot.c371 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 Dmusic.c370 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 Dgping.c778 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 Dmain.c135 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 Dtextbutton.c159 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 Dmenu.c109 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 Dtextbutton3.c184 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 Dlabel.c86 stringwidth(l->font->font, l->text), in labelshow()
/plan9/sys/src/cmd/postscript/
H A DREADME35 /stringwidth {stringwidth} bind def
/plan9/sys/lib/dist/cmd/
H A Dbargraph.c109 ptext = Pt(r.max.x-4-stringwidth(display->defaultfont, "100%"), r.min.x+4); in eresized()

12