File: pmdefs.h

package info (click to toggle)
plplot 5.3.1-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 26,248 kB
  • ctags: 11,687
  • sloc: ansic: 86,045; xml: 17,249; sh: 12,400; tcl: 8,113; cpp: 6,824; perl: 4,383; python: 3,915; makefile: 2,899; java: 2,788; fortran: 290; sed: 5; awk: 1
file content (77 lines) | stat: -rw-r--r-- 1,650 bytes parent folder | download | duplicates (4)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
	pmdefs.h
	Geoffrey Furnish
	22 September 1991
	
	This file contains definitions of constants and structures which
	are need by the PLPLOT 

	metafile writer and renderer.

	25 March 1992
	VERSION 1.0
*/

/* Symbolic constants needed in this file.
   Probably best to not exceed 32767 with these two. 
   WARNING: If you change these, it will affect how old metafiles are
   plotted, so be careful. */

#define PLMETA_X	10000
#define PLMETA_Y	10000

/* These numbers are supposed to be in dots/mm.  Since I am using a very
   large virtual display space, these need to be pretty big. */

#define PIXEL_RES_X	42
#define PIXEL_RES_Y	56


/* Structures and such for specifying the available commands. */

typedef int COMMAND;	/* Use for commands without paramaters. */
#define UCHAR unsigned char

/* 
	The available commands are ...

	*** NOTICE !!! ***
	If you change ANY of the following, you will wreck backward
	compatibility with old metafiles.  You may add, but do
	NOT delete !!!
*/

#define INITIALIZE 1
#define CLOSE 2
#define SWITCH_TO_TEXT 3
#define SWITCH_TO_GRAPH 4
#define CLEAR 5
#define PAGE 6
#define NEW_COLOR 7
#define NEW_WIDTH 8
#define LINE 9
#define LINETO 10
#define ESCAPE 11
#define ESC_NOOP 12
#define ESC_RGB 13

#define	STACKSIZE 8192

#define PIPE_BUFFER_SIZE	1000
#define PIPE_NAME	"\\pipe\\pmplplot"

typedef struct {
    PLINT a;
} PMSTUFF;

/*
	The following are various things needed to get my resources
	to work correctly with pmserv.
*/

#define ID_RESOURCE 1

#define IDM_ADVANCE	1
#define IDM_CONTROLS	2

#define IDM_AUTO_ADVANCE	20