Structure describing raster layout for a single colorant mapped to a channel (data stream). More...
#include "swraster.h"
Data Fields | |
size_t | size |
Size of this structure. | |
const uint8 * | name |
const uint8 * | original_name |
sw_pgb_colorant_type | type |
float | sRGB [3] |
HqBool | omitted |
Structure describing raster layout for a single colorant mapped to a channel (data stream).
const uint8* RASTER_COLORANT::name |
The name of the colorant. This will be "None" if all colorants of a required channel were omitted (in which case this colorant should also be marked as omitted).
HqBool RASTER_COLORANT::omitted |
Is this colorant omitted? If the colorant is marked as omitted, it will be the only colorant within the channel. If not omitted, there may be multiple colorants mapped to a single channel, for example when imposing separations on a single output channel. If there are multiple colorants mapped to a single channel, the RIP may not remove duplicate colorant definitions. It is possible to have all colorants omitted in a required channel, in which case the colorant name is anonymised to "None".
const uint8* RASTER_COLORANT::original_name |
The original name of the colorant. This may be different from the name if separation detection is active.
float RASTER_COLORANT::sRGB[3] |
The best equivalent of the colorant in sRGB color space. If the RIP could not determine an equivalent color, these will all be -1.
sw_pgb_colorant_type RASTER_COLORANT::type |
The colorant type, one of the SW_PGB_COLORANTTYPE_* enumeration values.