bpp-core3
3.0.0
|
The dvips color definitions. More...
#include <Bpp/Graphics/Latex/DvipsColorSet.h>
Public Member Functions | |
DvipsColorSet () | |
virtual | ~DvipsColorSet () |
const RGBColor & | getColor (const std::string &name) const |
Get the color object corresponding to a given name. More... | |
const RGBColor & | getColor (unsigned int index) const |
Get the ith color object in the set. More... | |
std::vector< std::string > | getColorNames () const |
size_t | getNumberOfColors () const |
Protected Attributes | |
std::map< std::string, RGBColor > | colors_ |
The dvips color definitions.
Source: dvipsnam.def, from the TeXlive LaTeX distribution.
Definition at line 18 of file DvipsColorSet.h.
DvipsColorSet::DvipsColorSet | ( | ) |
Definition at line 9 of file DvipsColorSet.cpp.
References bpp::AbstractColorSet::colors_.
|
inlinevirtual |
Definition at line 23 of file DvipsColorSet.h.
|
inlinevirtualinherited |
Get the color object corresponding to a given name.
name | The name of the color to look for. |
Exception | if the name is not assigned to any color. |
Implements bpp::ColorSet.
Definition at line 73 of file ColorSet.h.
|
inlinevirtualinherited |
Get the ith color object in the set.
index | The index of the color to look for. |
IndexOutOfBoundsException | if the index is not assigned to any color. |
Implements bpp::ColorSet.
Definition at line 80 of file ColorSet.h.
|
inlinevirtualinherited |
Implements bpp::ColorSet.
Definition at line 88 of file ColorSet.h.
References bpp::MapTools::getKeys().
|
inlinevirtualinherited |
Implements bpp::ColorSet.
Definition at line 90 of file ColorSet.h.
|
protectedinherited |
Definition at line 66 of file ColorSet.h.
Referenced by bpp::DefaultColorSet::DefaultColorSet(), DvipsColorSet(), bpp::MolscriptColorSet::MolscriptColorSet(), and bpp::RColorSet::RColorSet().