67 lines
1.7 KiB
C
67 lines
1.7 KiB
C
/*
|
|
* |-----------------------------------------------------------|
|
|
* | Copyright (c) 1991, 1990 MIPS Computer Systems, Inc. |
|
|
* | All Rights Reserved |
|
|
* |-----------------------------------------------------------|
|
|
* | Restricted Rights Legend |
|
|
* | Use, duplication, or disclosure by the Government is |
|
|
* | subject to restrictions as set forth in |
|
|
* | subparagraph (c)(1)(ii) of the Rights in Technical |
|
|
* | Data and Computer Software Clause of DFARS 252.227-7013. |
|
|
* | MIPS Computer Systems, Inc. |
|
|
* | 950 DeGuigne Avenue |
|
|
* | Sunnyvale, California 94088-3650, USA |
|
|
* |-----------------------------------------------------------|
|
|
*/
|
|
/* $Header: /proj/irix6.5.7m/isms/eoe/cmd/lp_svr4/lib/postscript/RCS/gen.h,v 1.1 1992/12/14 13:32:49 suresh Exp $ */
|
|
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
|
/* All Rights Reserved */
|
|
|
|
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
|
/* The copyright notice above does not evidence any */
|
|
/* actual or intended publication of such source code. */
|
|
|
|
|
|
/*
|
|
*
|
|
* A few definitions that shouldn't have to change. They're used by most of the
|
|
* programs in this package.
|
|
*
|
|
*/
|
|
|
|
|
|
#define PROGRAMVERSION "3.15"
|
|
|
|
|
|
#define NON_FATAL 0
|
|
#define FATAL 1
|
|
#define USER_FATAL 2
|
|
|
|
#define OFF 0
|
|
#define ON 1
|
|
|
|
#define FALSE 0
|
|
#define TRUE 1
|
|
|
|
#define BYTE 8
|
|
#define BMASK 0377
|
|
|
|
#define POINTS 72.3
|
|
|
|
#ifndef PI
|
|
#define PI 3.141592654
|
|
#endif
|
|
|
|
|
|
/*
|
|
*
|
|
* A few simple macros.
|
|
*
|
|
*/
|
|
|
|
|
|
#define ABS(A) ((A) >= 0 ? (A) : -(A))
|
|
#define MIN(A, B) ((A) < (B) ? (A) : (B))
|
|
#define MAX(A, B) ((A) > (B) ? (A) : (B))
|
|
|