The R Project SVN R

Rev

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

Rev 18556 Rev 19500
Line 51... Line 51...
51
#define GETRED(col)    (((col) >> RSHIFT) & 0xFFUL)
51
#define GETRED(col)    (((col) >> RSHIFT) & 0xFFUL)
52
#define GETGREEN(col)  (((col) >> GSHIFT) & 0xFFUL)
52
#define GETGREEN(col)  (((col) >> GSHIFT) & 0xFFUL)
53
#define GETBLUE(col)   (((col) >> BSHIFT) & 0xFFUL)
53
#define GETBLUE(col)   (((col) >> BSHIFT) & 0xFFUL)
54
 
54
 
55
void R_ShowMessage(char *msg);
55
void R_ShowMessage(char *msg);
56
#include "R_ext/Error.h"
56
#include <R_ext/Error.h>
57
 
57
 
58
#ifdef HAVE_PNG
58
#ifdef HAVE_PNG
59
/* 
59
/* 
60
 * Try to save the content of the device 'd' in 'filename' as png.
60
 * Try to save the content of the device 'd' in 'filename' as png.
61
 * If numbers of colors is less than 256 we use a 'palette' png.
61
 * If numbers of colors is less than 256 we use a 'palette' png.