Searched refs:ndashes (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/groff/src/preproc/pic/
H A Dcommon.cpp33 int ndashes; local
38 ndashes = 4;
42 ndashes = 2;
50 ndashes = 4*int(ceil(M_PI/(4.0*dash_angle)));
51 gap_angle = (M_PI*2.0)/ndashes - dash_angle;
53 for (int i = 0; i < ndashes; i++) {
272 int ndashes = int((total_angle - dash_angle)/(dash_angle*2.0) + .5); local
273 double dash_and_gap_angle = (total_angle - dash_angle)/ndashes;
274 for (int i = 0; i <= ndashes; i++)
H A Dtroff.cpp115 int ndashes = int((dist - lt.dash_width)/(lt.dash_width*2.0) + .5); local
117 double dash_gap = (dist - lt.dash_width)/ndashes;
119 for (int j = 0; j <= ndashes; j++) {

Completed in 184 milliseconds