Creates a new soft mask object.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_softmask_create( HIG_PDF_DOC hDoc, LONG nType, HIG_PDE_FORM hForm, LPHIG_PDE_SOFTMASK lphSoftMask ); |
Arguments:
hDoc | The container document. |
nType | Specifies how the mask is to be computed. One of the enumIGPDESoftMaskCreateFlags. |
hForm | The form XObject that defines the soft mask. It is the source of the mask values and the color space in which the composite computation is to be done. |
lphSoftMask | The newly created object. |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
Call IG_PDE_element_release to dispose the created object when finished with it.