ARB
Public Member Functions | List of all members
ColorMap Class Reference

Public Member Functions

 ColorMap ()
 
void add (AW_rgb rgb)
 
bool operator() (const AW_rgb &c1, const AW_rgb &c2) const
 
void mapColors (size_t allowed)
 
void printUserColorDefinitions (FILE *xout)
 
int rgb2index (AW_rgb rgb) const
 

Detailed Description

Definition at line 135 of file AW_print.cxx.

Constructor & Destructor Documentation

ColorMap::ColorMap ( )
inline

Definition at line 179 of file AW_print.cxx.

References figStdColors, and XFIG_DEFAULT_COLOR_COUNT.

Member Function Documentation

void ColorMap::add ( AW_rgb  rgb)
inline

Definition at line 186 of file AW_print.cxx.

bool ColorMap::operator() ( const AW_rgb c1,
const AW_rgb c2 
) const
inline

Definition at line 188 of file AW_print.cxx.

References aw_assert, and cmp.

void ColorMap::mapColors ( size_t  allowed)
inline
void ColorMap::printUserColorDefinitions ( FILE *  xout)
inline
int ColorMap::rgb2index ( AW_rgb  rgb) const
inline

Definition at line 270 of file AW_print.cxx.

References aw_assert.

Referenced by SPOOLER::spool().


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