The R Project SVN R

Rev

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

Rev 32205 Rev 32449
Line 32... Line 32...
32
 
32
 
33
#define	DEG2RAD 0.01745329251994329576
33
#define	DEG2RAD 0.01745329251994329576
34
 
34
 
35
#define COLOR_TABLE_SIZE 1024
35
#define COLOR_TABLE_SIZE 1024
36
 
36
 
37
#define MAX_LAYOUT_ROWS 15
37
#define MAX_LAYOUT_ROWS 50
38
#define MAX_LAYOUT_COLS 15
38
#define MAX_LAYOUT_COLS 50
-
 
39
#define MAX_LAYOUT_CELLS 500 /* must be less than 65535, 
-
 
40
				3 copies, 3bytes each */
39
 
41
 
40
typedef unsigned int rcolor;
42
typedef unsigned int rcolor;
41
 
43
 
42
typedef struct {
44
typedef struct {
43
	double ax;
45
	double ax;
Line 209... Line 211...
209
    int	lastFigure;
211
    int	lastFigure;
210
    double heights[MAX_LAYOUT_ROWS];
212
    double heights[MAX_LAYOUT_ROWS];
211
    double widths[MAX_LAYOUT_COLS];
213
    double widths[MAX_LAYOUT_COLS];
212
    int	cmHeights[MAX_LAYOUT_ROWS];
214
    int	cmHeights[MAX_LAYOUT_ROWS];
213
    int	cmWidths[MAX_LAYOUT_COLS];
215
    int	cmWidths[MAX_LAYOUT_COLS];
214
    int	order[MAX_LAYOUT_ROWS][MAX_LAYOUT_COLS];
216
    unsigned short order[MAX_LAYOUT_CELLS];
215
    int	rspct;		/* 0 = none, 1 = full, 2 = see respect */
217
    int	rspct;		/* 0 = none, 1 = full, 2 = see respect */
216
    int	respect[MAX_LAYOUT_ROWS][MAX_LAYOUT_COLS];
218
    unsigned char respect[MAX_LAYOUT_CELLS];
217
 
219
 
218
    int	mfind;		/* By row/col indicator */
220
    int	mfind;		/* By row/col indicator */
219
 
221
 
220
    /* Layout parameters which can be set directly by the */
222
    /* Layout parameters which can be set directly by the */
221
    /* user (e.g., par(fig=c(.5,1,0,1))) or otherwise are */
223
    /* user (e.g., par(fig=c(.5,1,0,1))) or otherwise are */