The R Project SVN R

Rev

Rev 6177 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6177 Rev 6418
Line 62... Line 62...
62
#define R_RED(col)	(((col)	   )&255)
62
#define R_RED(col)	(((col)	   )&255)
63
#define R_GREEN(col)	(((col)>> 8)&255)
63
#define R_GREEN(col)	(((col)>> 8)&255)
64
#define R_BLUE(col)	(((col)>>16)&255)
64
#define R_BLUE(col)	(((col)>>16)&255)
65
#define COLOR_TABLE_SIZE 256
65
#define COLOR_TABLE_SIZE 256
66
 
66
 
67
 
-
 
68
#ifdef Unix
-
 
69
#define LTY_SOLID	0
-
 
70
#define LTY_DASHED	4 + (4<<4)
-
 
71
#define LTY_DOTTED	1 + (3<<4)
-
 
72
#define LTY_DOTDASH	1 + (3<<4) + (4<<8) + (3<<12)
-
 
73
#endif
-
 
74
 
-
 
75
/*
67
/*
76
 *	Some Notes on Line Textures
68
 *	Some Notes on Line Textures
77
 *
69
 *
78
 *	Line textures are stored as an array of 4-bit integers within
70
 *	Line textures are stored as an array of 4-bit integers within
79
 *	a single 32-bit word.  These integers contain the lengths of
71
 *	a single 32-bit word.  These integers contain the lengths of
Line 103... Line 95...
103
 */
95
 */
104
 
96
 
105
/*--- The basic numbered & names line types; Here device-independent:
97
/*--- The basic numbered & names line types; Here device-independent:
106
  e.g. "dashed" == "44",  "dotdash" == "1343"
98
  e.g. "dashed" == "44",  "dotdash" == "1343"
107
*/
99
*/
-
 
100
 
108
#define LTY_BLANK	-1
101
#define LTY_BLANK	-1
109
#define LTY_SOLID	0
102
#define LTY_SOLID	0
110
#define LTY_DASHED	4 + (4<<4)
103
#define LTY_DASHED	4 + (4<<4)
111
#define LTY_DOTTED	1 + (3<<4)
104
#define LTY_DOTTED	1 + (3<<4)
112
#define LTY_DOTDASH	1 + (3<<4) + (4<<8) + (3<<12)
105
#define LTY_DOTDASH	1 + (3<<4) + (4<<8) + (3<<12)