aboutsummaryrefslogtreecommitdiffstats
path: root/src/cd/defines.h
blob: 7ee549483a914027b601709035ed85334d915b29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* defines.h: declarations file for the cgmdraw module.

        Written by G. Edward Johnson <mailto:lorax@nist.gov>
        Date: April 1996
        Copyright: cd software produced by NIST, an agency of the 
	U.S. government, is by statute not subject to copyright
	in the United States. Recipients of this software assume all 
	responsibilities associated with its operation, modification
	and maintenance.
 
*/

#ifndef CDDEF_H
#define CDDEF_H 1

#define b0 01
#define b1 02
#define b2 04
#define b3 010
#define b4 020
#define b5 040
#define b6 0100
#define b7 0200
#define b8 0400
#define b9 01000
#define b10 02000
#define b11 04000
#define b12 010000
#define b13 020000
#define b14 040000
#define b15 0100000

/* Defines the default values for different attributes.  In general,
 * these track the CGM specificaition, so changing them is not a good idea.
 * however, it is generally ok to set them to -1 (undefined) if you want.
 */

#define CDLTYPE 1
#define CDLWIDTH 0
#define CDLCOLOR 1
#define CDSHAPESTYLE -1
#define CDSHAPECOLOR 1
#define CDSHAPEHATCH 1
#define CDEDGETYPE 1
#define CDEDGECOLOR -1
#define CDEDGEWIDTH -1
#define CDEDGEVIS -1
#define CDTEXTCOLOR 1
#define CDTEXTHEIGHT -1
#define CDTEXTFONT 1
#define CDTEXTPATH 0


#endif