PLplot: defines.h Source File

PLplot 5.15.0

defines.h
Go to the documentation of this file.
1
2 // defines.h: declarations file for the cgmdraw module.
3 //
4 // Written by G. Edward Johnson <mailto:lorax@nist.gov>
5 // Date: April 1996
6 // Copyright: cd software produced by NIST, an agency of the
7 // U.S. government, is by statute not subject to copyright
8 // in the United States. Recipients of this software assume all
9 // responsibilities associated with its operation, modification
10 // and maintenance.
11 //
12 //
13
14 #ifndef CDDEF_H
15 #define CDDEF_H 1
16
17 #define b0 01
18 #define b1 02
19 #define b2 04
20 #define b3 010
21 #define b4 020
22 #define b5 040
23 #define b6 0100
24 #define b7 0200
25 #define b8 0400
26 #define b9 01000
27 #define b10 02000
28 #define b11 04000
29 #define b12 010000
30 #define b13 020000
31 #define b14 040000
32 #define b15 0100000
33
34 // Defines the default values for different attributes. In general,
35 // these track the CGM specificaition, so changing them is not a good idea.
36 // however, it is generally ok to set them to -1 (undefined) if you want.
37 //
38
39 #define CDLTYPE 1
40 #define CDLWIDTH 0
41 #define CDLCOLOR 1
42 #define CDSHAPESTYLE 0
43 #define CDSHAPECOLOR 1
44 #define CDSHAPEHATCH 1
45 #define CDEDGETYPE 1
46 #define CDEDGECOLOR 1
47 #define CDEDGEWIDTH 1
48 #define CDEDGEVIS 0
49 #define CDTEXTFONT 1
50 #define CDTEXTCOLOR 1
51 #define CDTEXTHEIGHT -1
52 #define CDTEXTPATH 0
53 #define CDMTYPE 1
54 #define CDMSIZE 0
55 #define CDMCOLOR 1
56 #define CDLINESPEC 1
57 #define CDEDGESPEC 1
58 #define CDMARKERSPEC 1
59
60
61 #endif