File: svblock.c

package info (click to toggle)
pgplot5 5.2.2-19.8
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 7,192 kB
  • sloc: fortran: 39,795; ansic: 22,554; objc: 1,534; sh: 1,298; makefile: 269; pascal: 233; perl: 209; tcl: 190; awk: 51; csh: 25
file content (23 lines) | stat: -rw-r--r-- 873 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* This file contains the initialized global variables for the sv driver */

/* Created: 30-Apr-1991 */
/* Sam Southard, Jr. */

char sv_dev_name[] = "SUN" ;
int sv_COLOR = 1 ;			/* current pen color */
int sv_APPEND = 0 ;			/* to erase or not */
#define NCOLOR	32

/*  The pre-defined dark grey color is too dark */

unsigned char sv_R_table[NCOLOR] =
	{  1,255,255,  0,  0,  0,255,255, 255,127,  0,  0,127,255, 85,170,
	   0,  0,  0,  0,  0,  0,  0,  0,   0,  0,  0,  0,  0,  0,  0,255 } ;
unsigned char sv_G_table[NCOLOR] =
	{  1,255,  0,255,  0,255,  0,255, 127,255,255,127,  0,  0, 85,170,
	   0,  0,  0,  0,  0,  0,  0,  0,   0,  0,  0,  0,  0,  0,  0,255 } ;
unsigned char sv_B_table[NCOLOR] =
	{  1,255,  0,  0,255,255,255,  0,   0,  0,127,255,255,127, 85,170,
	   0,  0,  0,  0,  0,  0,  0,  0,   0,  0,  0,  0,  0,  0,  0,255 } ;

int sv_NPOLY = 0, sv_POLY = 0 ;