space.c

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· C语言 代码 · 共 21 行

C
21
字号
#ifndef lintstatic char sccsid[] = "@(#)space.c	4.1 (Berkeley) 6/27/83";#endifextern float boty;extern float botx;extern float oboty;extern float obotx;extern float scalex;extern float scaley;float deltx = 4095.;float delty = 4095.;space(x0,y0,x1,y1){	botx = -2047.;	boty = -2047;	obotx = x0;	oboty = y0;	scalex = deltx/(x1-x0);	scaley = delty/(y1-y0);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?