Gets the graphics state information for an element.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_element_get_gstate( HIG_PDE_ELEMENT hElement, LPAT_PDE_GRAPHICSTATE lpGstate ); |
Arguments:
Name | Type | Description | ||
hElement | HIG_PDE_ELEMENT | An element whose graphics state is obtained. | ||
lpGstate | LPAT_PDE_GRAPHICSTATE |
Pointer to AT_PDE_GRAPHICSTATE structure that contains graphics state information for hElement. This graphics state information may contain PDE objects for color spaces or an ExtGState. They are not acquired by this function.
|
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
This function is only valid for PDE Form, PDE Image, PDE Path, and PDE Shading elements.
Non-NULL objects in the graphic state, such as the fill and stroke color spaces, have their reference counts incremented by this function. Be sure to release these non-NULL objects when disposing of lpGstate. |