bpp-core3
3.0.0
|
Associate special colors to a code. More...
#include <Bpp/Graphics/ColorManager.h>
Public Member Functions | |
ColorManager () | |
virtual | ~ColorManager () |
virtual CodeType | getCode (const RGBColor &color)=0 |
virtual const RGBColor & | getColor (CodeType &code) const =0 |
virtual const std::vector< CodeType > & | getCodes () const =0 |
virtual const std::vector< RGBColor > & | getColors () const =0 |
virtual size_t | getNumberOfColors () const =0 |
Associate special colors to a code.
Instances of this interface are used in some vector format.
Definition at line 24 of file ColorManager.h.
|
inline |
Definition at line 27 of file ColorManager.h.
|
inlinevirtual |
Definition at line 28 of file ColorManager.h.
|
pure virtual |
color | The color to look for. |
Implemented in bpp::XFigColorManager.
Referenced by bpp::ColorManager< unsigned int >::~ColorManager().
|
pure virtual |
Implemented in bpp::XFigColorManager.
Referenced by bpp::ColorManager< unsigned int >::~ColorManager().
|
pure virtual |
code | The code to look for. |
exception | if the code is not valid. |
Implemented in bpp::XFigColorManager.
Referenced by bpp::ColorManager< unsigned int >::~ColorManager().
|
pure virtual |
Implemented in bpp::XFigColorManager.
Referenced by bpp::ColorManager< unsigned int >::~ColorManager().
|
pure virtual |
Implemented in bpp::XFigColorManager.
Referenced by bpp::ColorManager< unsigned int >::~ColorManager().