Mapper  0.9.0
API documentation
Classes | Namespaces | Typedefs | Functions
map_color.h File Reference

(9169056 on 6 Feb 2019)

#include <vector>
#include <QtGlobal>
#include <QtMath>
#include <QColor>
#include <QHash>
#include <QMetaType>
#include <QRgb>
#include <QString>
Include dependency graph for map_color.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  OpenOrienteering::MapColorCmyk
 The MapColorCmyk class provides a datatype for storing and transferring opaque CMYK colors. More...
 
struct  OpenOrienteering::MapColorRgb
 The MapColorRgb class provides a datatype for storing and transferring opaque RGB colors. More...
 
struct  OpenOrienteering::SpotColorComponent
 The SpotColorComponent datatype describes the use of a spot color in a screen or overprint to create another color. More...
 
class  OpenOrienteering::MapColor
 The MapColor class provides colors which may be used by symbols (and objects). More...
 
class  OpenOrienteering::MapColorMap
 MapColorMap provides a mapping from one map color to another. More...
 

Namespaces

 OpenOrienteering
 

Typedefs

typedef std::vector< SpotColorComponent > OpenOrienteering::SpotColorComponents
 The SpotColorComponents type is a STL container that stores all SpotColorComponent elements which make up a particular map color. More...
 

Functions

bool OpenOrienteering::operator== (const MapColorCmyk &lhs, const MapColorCmyk &rhs)
 Returns true iff the MapColorCmyk are equal in all components. More...
 
bool OpenOrienteering::operator!= (const MapColorCmyk &lhs, const MapColorCmyk &rhs)
 Returns true iff the MapColorCmyk differ in at least one components. More...
 
bool OpenOrienteering::operator== (const MapColorRgb &lhs, const MapColorRgb &rhs)
 Returns true if both MapColorRgb are equal in all components. More...
 
bool OpenOrienteering::operator!= (const MapColorRgb &lhs, const MapColorRgb &rhs)
 Returns true iff the MapColorRgb differ in at least one components. More...
 
bool OpenOrienteering::operator== (const SpotColorComponents &lhs, const SpotColorComponents &rhs)
 Returns true if for each element in lhs, there is an element of equal color and factor in rhs. More...
 
bool OpenOrienteering::operator== (const MapColor &lhs, const MapColor &rhs)
 Returns true if both MapColor are equal in all components. More...
 
bool OpenOrienteering::operator!= (const MapColor &lhs, const MapColor &rhs)
 Returns true iff the MapColor differ in at least one components. More...
 
template<class T >
QColor OpenOrienteering::colorWithOpacity (T c, float opacity)
 Constructs a QColor with the alpha given by opacity from the prototype c. More...
 
QColor OpenOrienteering::colorWithOpacity (const MapColor &c)
 Constructs a QColor with opacity from the given MapColor. More...