Mapper  0.9.0
API documentation
Public Member Functions | Public Attributes | List of all members
OpenOrienteering::SpotColorComponent Struct Reference

The SpotColorComponent datatype describes the use of a spot color in a screen or overprint to create another color. More...

#include <map_color.h>

Collaboration diagram for OpenOrienteering::SpotColorComponent:
Collaboration graph
[legend]

Public Member Functions

 SpotColorComponent ()
 Constructs a component with an undefined spot color and halftoning. More...
 
 SpotColorComponent (const MapColor *spot_color, float factor)
 Constructs a component for the given spot color and halftoning. More...
 
bool isValid () const
 Returns true iff the spot color is defined. More...
 

Public Attributes

const MapColorspot_color
 A map color which is a spot color. More...
 
float factor
 The factor describes the halftoning (screen). More...
 

Detailed Description

The SpotColorComponent datatype describes the use of a spot color in a screen or overprint to create another color.

Constructor & Destructor Documentation

◆ SpotColorComponent() [1/2]

OpenOrienteering::SpotColorComponent::SpotColorComponent ( )
inline

Constructs a component with an undefined spot color and halftoning.

◆ SpotColorComponent() [2/2]

OpenOrienteering::SpotColorComponent::SpotColorComponent ( const MapColor spot_color,
float  factor 
)
inline

Constructs a component for the given spot color and halftoning.

Member Function Documentation

◆ isValid()

bool OpenOrienteering::SpotColorComponent::isValid ( ) const
inline

Returns true iff the spot color is defined.

Member Data Documentation

◆ factor

float OpenOrienteering::SpotColorComponent::factor

The factor describes the halftoning (screen).

It is a value in the range [0.0; 1.0].

◆ spot_color

const MapColor* OpenOrienteering::SpotColorComponent::spot_color

A map color which is a spot color.


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