Home
last modified time | relevance | path

Searched refs:troffscale (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/gpl2/groff/dist/src/preproc/grn/
H A Dmain.cpp186 double troffscale; /* scaling factor at output time */ variable
528 if ((troffscale = rightpoint - leftpoint) < 0.1) in conv()
529 troffscale = 0.1; in conv()
530 troffscale = (width != 0.0) ? in conv()
531 width / (troffscale * SCREENtoINCH) : BIG; in conv()
532 if (temp == BIG && troffscale == BIG) in conv()
533 troffscale = xscale; in conv()
535 if (temp < troffscale) in conv()
536 troffscale = temp; in conv()
543 tsize[i] = (int) (troffscale * (double) tsize[i] + 0.5); in conv()
[all …]
H A Dhgraph.cpp32 extern double troffscale; /* imports from main.c */
143 HGtline((int) (p1->x * troffscale), in HGPrintElt()
144 (int) (p1->y * troffscale)); in HGPrintElt()
247 HGtline((int) (p1->x * troffscale), in HGPrintElt()
248 (int) (p1->y * troffscale)); in HGPrintElt()
257 HGtline((int) (firstx * troffscale), in HGPrintElt()
258 (int) (firsty * troffscale)); in HGPrintElt()
352 HGArc((int) (cp.x * troffscale), (int) (cp.y * troffscale), in doarc()
353 (int) (sp.x * troffscale), (int) (sp.y * troffscale), angle); in doarc()
355 HGArc((int) (cp.x * troffscale), (int) (cp.y * troffscale), in doarc()
[all …]