1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)bit.h	5.1 (Berkeley) 4/26/85
   7:  */
   8: 
   9: /*
  10:  * Bit matrix manipulations for font editor.
  11:  *
  12:  * General structure of a bit matrix: each row is packed into as few
  13:  * bytes as possible, taking the bits from left to right within bytes.
  14:  * The matrix is a sequence of such rows, i.e. up to 7 bits are wasted
  15:  * at the end of each row.
  16:  */
  17: 
  18: #include <stdio.h>
  19: typedef char *  bitmat;
  20: #ifdef TRACE
  21:     FILE *trace;
  22: #endif
  23: 
  24: #define max(x,y)    ((x) > (y) ?   (x)  : (y))
  25: #define min(x,y)    ((x) < (y) ?   (x)  : (y))
Last modified: 1987-02-22
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2130
Valid CSS Valid XHTML 1.0 Strict