libpgplotxx.a (C++ interface to PGPLOT)
pgplot::Tcol Struct Reference

a struct to hold colour triples i.e. rgb or hls values More...

#include <structs.h>

Public Attributes

union {
   float   r
 
   float   h
 
}; 
 red or hue More...
 
union {
   float   g
 
   float   l
 
}; 
 red or lightness More...
 
union {
   float   b
 
   float   s
 
}; 
 blue or saturation More...
 

Detailed Description

a struct to hold colour triples i.e. rgb or hls values

Note
all values should be in the range between 0. and 1., except hue, which can be in the range 0. to 360.

Definition at line 220 of file structs.h.


The documentation for this struct was generated from the following file: