static char sccsid
[] = "@(#)subr.c 4.1 (Berkeley) %G%";
/* x position input is -2047 to +2047, output must be 0 to PAGSIZ*HORZRES */
/* the computation is newx = xp*(PAGSIZ*HORZRES)/4096 */
return (xoffset
+ xp
/xscale
);
/* see description of xconv */
if(ch
== UP
)putc(ESC
,stdout
);
if((xg
== xnow
) && (yg
== ynow
))return;
/* if we need to go to left margin, just CR */
xa
= (xi
- obotx
) * scalex
+ botx
;
ya
= (yi
- oboty
) *scaley
+boty
;