The R Project SVN R

Rev

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

Rev 59105 Rev 61333
Line 302... Line 302...
302
 */
302
 */
303
 
303
 
304
#define RGBpar			Rf_RGBpar
304
#define RGBpar			Rf_RGBpar
305
#define RGBpar3			Rf_RGBpar3
305
#define RGBpar3			Rf_RGBpar3
306
#define col2name                Rf_col2name
306
#define col2name                Rf_col2name
307
#define name2col		Rf_name2col
-
 
308
 
307
 
309
/* Convert an element of a R colour specification (which might be a
308
/* Convert an element of a R colour specification (which might be a
310
   number or a string) into an internal colour specification. */
309
   number or a string) into an internal colour specification. */
311
unsigned int RGBpar(SEXP, int);
310
unsigned int RGBpar(SEXP, int);
312
unsigned int RGBpar3(SEXP, int, unsigned int);
311
unsigned int RGBpar3(SEXP, int, unsigned int);
313
 
312
 
314
/* Convert an internal colour specification to/from a colour name */
313
/* Convert an internal colour specification to/from a colour name */
315
const char *col2name(unsigned int col); /* used in par.c, grid */
314
const char *col2name(unsigned int col); /* used in par.c, grid */
316
unsigned int name2col(const char *);    /* used by plotmath.c */
-
 
317
 
315
 
318
/* Convert either a name or a #RRGGBB[AA] string to internal.
316
/* Convert either a name or a #RRGGBB[AA] string to internal.
319
   Because people were using it, it also converts "1", "2" ...
317
   Because people were using it, it also converts "1", "2" ...
320
   to a colour in the palette, and "0" to transparent white.
318
   to a colour in the palette, and "0" to transparent white.
321
*/
319
*/