DL Logo

PDEDeviceNColors Typedefs

PDEDeviceNColors

Header: PEExpT.h:358

Description

A color space with a variable number of device-dependent components. It is usually used to store multiple spot colors in a single color space.

Syntax

typedef struct _t_PDEDeviceNColors *PDEDeviceNColors;

Returned From

Used By

PDEDeviceNColors Functions

PDEDeviceNColorsCreate

Header: PEWProcs.h:1466

Description

Creates an object that can be used to store n color components when in a DeviceN color space.

Call PDERelease() to dispose of the returned PDEDeviceNColors object when finished with it.

Syntax

PDEDeviceNColors PDEDeviceNColorsCreate(IN ASFixed *pColorValues, IN ASInt32 numValues);

Parameters

pColorValues
IN/OUT A pointer to an array of ASFixed values.
numValues
IN/OUT The length of the array.

Returns

An object containing values specifying a color in a PDEDeviceNColors color space.

Exceptions

PDEDeviceNColorsGetColorValue

Header: PERProcs.h:1587

Description

Gets the value of a color component of a PDEDeviceNColors color space.

Related Methods

Syntax

ASFixed PDEDeviceNColorsGetColorValue(IN PDEDeviceNColors colors, IN ASInt32 index);

Parameters

colors
IN/OUT A PDEDeviceNColors object returned by PDEDeviceNColorsCreate().
index
IN/OUT The index of the color component to return.

Returns

The value of the requested color component.

Exceptions