Utah Raster Toolkit  9999-git
URT Development version (post-3.1b)
Macros
dvirle.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VERSION   2
 
#define NFONTS   100 /* max number of fonts */
 
#define FONTSHIFT   14 /* font shift in fcp's */
 
#define CHARSHIFT   7 /* char shift in fcp's */
 
#define CHARMASK   127 /* char mask in fcp's - 128 chars/font */
 
#define PARTMASK   127 /* part mask in fcp's */
 
#define DPI   300 /* Dots per inch */
 
#define ROWS   600 /* lines in buffer (2 inches) */
 
#define COLUMNS   319 /* 2550 bits per line / 8 bits per char */
 
#define MaxCharHeight   (ROWS-1) /* max bit height of a single char or rule */
 
#define MaxPageHeight   3300 /* max bit height of a page */
 
#define MaxPageWidth   2550 /* max bit width of a page */
 
#define DefaultMaxDrift   2
 
#define DefaultLeftMargin   300
 
#define MinimumLeftMargin   15
 
#define DefaultTopMargin   300
 
#define MinimumTopMargin   15
 
#define DefaultBottomMargin   300
 
#define min(a, b)   ((a) < (b) ? (a) : (b))
 

Macro Definition Documentation

#define CHARMASK   127 /* char mask in fcp's - 128 chars/font */

Definition at line 32 of file dvirle.h.

#define CHARSHIFT   7 /* char shift in fcp's */

Definition at line 31 of file dvirle.h.

#define COLUMNS   319 /* 2550 bits per line / 8 bits per char */

Definition at line 37 of file dvirle.h.

#define DefaultBottomMargin   300

Definition at line 48 of file dvirle.h.

#define DefaultLeftMargin   300

Definition at line 44 of file dvirle.h.

#define DefaultMaxDrift   2

Definition at line 42 of file dvirle.h.

#define DefaultTopMargin   300

Definition at line 46 of file dvirle.h.

#define DPI   300 /* Dots per inch */

Definition at line 35 of file dvirle.h.

#define FONTSHIFT   14 /* font shift in fcp's */

Definition at line 30 of file dvirle.h.

#define MaxCharHeight   (ROWS-1) /* max bit height of a single char or rule */

Definition at line 38 of file dvirle.h.

#define MaxPageHeight   3300 /* max bit height of a page */

Definition at line 39 of file dvirle.h.

#define MaxPageWidth   2550 /* max bit width of a page */

Definition at line 40 of file dvirle.h.

#define min (   a,
  b 
)    ((a) < (b) ? (a) : (b))

Definition at line 51 of file dvirle.h.

#define MinimumLeftMargin   15

Definition at line 45 of file dvirle.h.

#define MinimumTopMargin   15

Definition at line 47 of file dvirle.h.

#define NFONTS   100 /* max number of fonts */

Definition at line 28 of file dvirle.h.

#define PARTMASK   127 /* part mask in fcp's */

Definition at line 33 of file dvirle.h.

#define ROWS   600 /* lines in buffer (2 inches) */

Definition at line 36 of file dvirle.h.

#define VERSION   2

Definition at line 26 of file dvirle.h.