Searched refs:scale_round (Results 1 – 4 of 4) sorted by relevance
| /NextBSD/contrib/groff/src/devices/xditview/ |
| HD | device.c | 66 static int scale_round(int, int, int); 278 int scale_round(int n, int x, int y) in scale_round() function 331 *widthp = scale_round(p->width, ps, f->dev->unitwidth); in device_char_width() 345 *widthp = scale_round(p->width, ps, f->dev->unitwidth); in device_code_width()
|
| HD | ChangeLog | 14 * device.c (scale_round): Round correctly for negative values
|
| /NextBSD/contrib/groff/src/libs/libgroff/ |
| HD | font.cpp | 190 static int scale_round(int n, int x, int y) in scale_round() function 210 return sz == unitwidth ? w : scale_round(w, sz, unitwidth); in scale() 805 space_width = scale_round(unitwidth, res, 72*3*sizescale); in load()
|
| /NextBSD/contrib/groff/ |
| HD | ChangeLog.115 | 2936 * lib/font.c (scale_round): If n is negative, 3988 divide by sizescale. Use scale_round. 4216 * lib/font.c (scale_round): Better test for overflow when n is
|