kPDESoftMaskTypeLuminosity=0x0001 | Specifies how the mask is to be computed.
|
kPDESoftMaskTypeAlpha=0x0002 | Specifies how the mask is to be computed.
|
typedef struct _t_PDESoftMask *PDESoftMask;
Superseded by PDESoftMaskAcquireFormEx() in Acrobat 10.0. Acquires the PDEForm that defines the soft mask.
Call PDERelease() to dispose of the PDEForm when finished with it.
PDEForm PDESoftMaskAcquireForm(IN PDESoftMask pdeSoftMask, IN ASFixedMatrixP matrixP);
pdeSoftMask | IN/OUT An object of type PDESoftMask.
|
matrixP | IN/OUT A matrix defining the transformation from coordinate space to user space.
|
Supersedes PDESoftMaskAcquireForm() in Acrobat 10.0. Acquires the PDEForm that defines the soft mask.
Call PDERelease() to dispose of the PDEForm when finished with it.
PDEForm PDESoftMaskAcquireFormEx(IN PDESoftMask pdeSoftMask, IN ASDoubleMatrixP matrixP);
pdeSoftMask | IN/OUT An object of type PDESoftMask.
|
matrixP | IN/OUT A matrix defining the transformation from coordinate space to user space.
|
Creates a new soft mask object.
Call PDERelease() to dispose of the returned PDESoftMask object when finished with it.
PDESoftMask PDESoftMaskCreate(IN CosDoc cosDoc, IN PDESoftMaskCreateFlags type, IN PDEForm pdeForm);
cosDoc | IN/OUT The container document.
|
type | IN/OUT Specifies how the mask is to be computed. It is one of the PDESoftMaskCreateFlags.
|
pdeForm | IN/OUT The form XObject that defines the soft mask. It is the source of the mask values and the PDColorSpace in which the composite computation is to be done.
|
Creates a new soft mask object from its Cos representation.
Call PDERelease() to dispose of the returned PDESoftMask object when finished with it.
PDESoftMask PDESoftMaskCreateFromCosObj(IN const CosObj *cosObjP);
cosObjP | IN/OUT The soft mask dictionary.
|
Create a new soft mask from a name.
Call PDERelease() to dispose of the returned PDESoftMask object when finished with it.
PDESoftMask PDESoftMaskCreateFromName(IN ASAtom name);
name | IN/OUT The new name for the soft mask. Note that, currently, the only valid name is
None. |
NULL, the number of color values is returned. ASInt32 PDESoftMaskGetBackdropColor(IN PDESoftMask pdeSoftMask, IN ASFixed *pColorValues, IN ASInt32 numValues);
pdeSoftMask | IN/OUT An object of type PDESoftMask.
|
pColorValues | IN/OUT (Filled by the method) A pointer to an array of color values. If it is
NULL, the number of color values is returned. |
numValues | IN/OUT The length of the array
pColorValues. |
void PDESoftMaskGetCosObj(IN PDESoftMask pdeSoftMask, OUT CosObj *cosObjP);
pdeSoftMask | IN/OUT The soft mask.
|
cosObjP | IN/OUT (Filled by the method) A pointer to the Cos object.
|
ASAtom PDESoftMaskGetName(IN PDESoftMask pdeSoftMask);
pdeSoftMask | IN/OUT The soft mask.
|
CosObj PDESoftMaskGetTransferFunction(IN PDESoftMask pdeSoftMask);
pdeSoftMask | IN/OUT The soft mask.
|
void PDESoftMaskSetBackdropColor(IN PDESoftMask pdeSoftMask, IN ASFixed *pColorValues, IN ASInt32 numValues);
pdeSoftMask | IN/OUT The soft mask object.
|
pColorValues | IN/OUT A series of color values.
|
numValues | IN/OUT The number of values pointed to by
pColorValues. |
void PDESoftMaskSetTransferFunction(IN PDESoftMask pdeSoftMask, IN CosObj cosTransferFunction);
pdeSoftMask | IN/OUT The soft mask object.
|
cosTransferFunction | IN/OUT The transfer function dictionary.
|
void PDESoftMaskSetXGroup(IN PDESoftMask pdeSoftMask, IN PDEForm pdeForm);
pdeSoftMask | IN/OUT The soft mask object.
|
pdeForm | IN/OUT The form XObject.
|