Mako 8.1.0 API
Loading...
Searching...
No Matches
JawsMako::CSpotColorAlias Class Reference

A simple class which specifies aliasing for a spot colorant in a render. An alias can map a spot component (spotName) to any other component (remappedColorant) in a render, including a process component. For example, it is possible to alias "GlossBlack" to "Black" such that GlossBlack is treated as if it were the Black process colorant. Multiple aliases may map to the same final component. More...

#include <renderspec.h>

Public Member Functions

 CSpotColorAlias (const RawString &_spotName, const RawString &_remappedColorant)
 Construct a new CSpotColorAlias object.
 

Public Attributes

RawString spotName
 The name of the spot to map.
 
RawString remappedColorant
 The colorant to which occurrences of spotName will be mapped.
 

Detailed Description

A simple class which specifies aliasing for a spot colorant in a render. An alias can map a spot component (spotName) to any other component (remappedColorant) in a render, including a process component. For example, it is possible to alias "GlossBlack" to "Black" such that GlossBlack is treated as if it were the Black process colorant. Multiple aliases may map to the same final component.

Spots cannot be mapped to an additive process component. That is, if rendering to an RGB color space, spots cannot be mapped to Red, Green or Blue, or if rendering to a gray color space, spots cannot be mapped to Gray.

In essence, if spotName is used in a DeviceN color space, then it is renamed to remappedColorant.

Please note that this can result in situations where a DeviceN color space may have two colorants with the same name, in which case it is the last component which is eventually mapped.

Constructor & Destructor Documentation

◆ CSpotColorAlias()

JawsMako::CSpotColorAlias::CSpotColorAlias ( const RawString & _spotName,
const RawString & _remappedColorant )
inline

Construct a new CSpotColorAlias object.

Parameters
_spotNameThe name of the spot to map
_remappedColorantThe colorant to which occurrences of spotName will be mapped

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