From 177e25791de6323e9d03d24096870ef9829c02bd Mon Sep 17 00:00:00 2001 From: Ralph Campbell Date: Thu, 10 Mar 1983 00:24:51 -0800 Subject: [PATCH] date and time created 83/03/09 16:24:51 by ralph SCCS-vsn: old/lib2648/bit.h 4.1 --- usr/src/old/lib2648/bit.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 usr/src/old/lib2648/bit.h diff --git a/usr/src/old/lib2648/bit.h b/usr/src/old/lib2648/bit.h new file mode 100644 index 0000000000..2b89718c12 --- /dev/null +++ b/usr/src/old/lib2648/bit.h @@ -0,0 +1,18 @@ +/* bit.h 4.1 83/03/09 */ +/* + * Bit matrix manipulations for font editor. + * + * General structure of a bit matrix: each row is packed into as few + * bytes as possible, taking the bits from left to right within bytes. + * The matrix is a sequence of such rows, i.e. up to 7 bits are wasted + * at the end of each row. + */ + +#include +typedef char * bitmat; +#ifdef TRACE + FILE *trace; +#endif + +#define max(x,y) ((x) > (y) ? (x) : (y)) +#define min(x,y) ((x) < (y) ? (x) : (y)) -- 2.20.1