ImageGear Professional DLL v17.1 for Windows Accusoft
AT_PDE_GRAPHICSTATE
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > PDF Component API Reference > PDF Component Structures Reference > AT_PDE_GRAPHICSTATE

Glossary Item Box

Attributes of a PDE element or a PDE text sub-element.

Declaration:

  Copy Code
typedef struct tagAT_PDE_GRAPHICSTATE
{
        UINT wasSetFlags;
        AT_PDE_COLORSPEC fillColorSpec;
        AT_PDE_COLORSPEC strokeColorSpec;
        AT_PDE_DASH dash;
        AT_PDF_FIXED lineWidth;
        AT_PDF_FIXED miterLimit;
        AT_PDF_FIXED flatness;
        LONG lineCap;
        LONG lineJoin;
        HIG_PDF_ATOM renderIntent;
        HIG_PDE_OBJECT extGState;
} AT_PDE_GRAPHICSTATE;
typedef AT_PDE_GRAPHICSTATE FAR* LPAT_PDE_GRAPHICSTATE;

Members:

UINT wasSetFlags enumIGPDEGraphicStateWasSetFlags indicating if an attribute has been set. 
Support for these flags is not complete. For compatibility, you should set them, but do not depend on reading their values back. The intended use is with XObject Forms to indicate whether the value is inherited or explicitly set.
AT_PDE_COLORSPEC fillColorSpec Fill color specification. The default value is DeviceGray, IG_PDF_FIXED_ZERO.
AT_PDE_COLORSPEC strokeColorSpec Stroke color specification. The default value is DeviceGray, IG_PDF_FIXED_ZERO.
AT_PDE_DASH dash Dash specification. The default value is [0, 0].
AT_PDF_FIXED lineWidth Line width, corresponding to the w (setlinewidth) operator. The default value is IG_PDF_FIXED_ONE.
AT_PDF_FIXED miterLimit Miter limit, corresponding to the M (setmiterlimit) operator. The default value is IG_PDF_FIXED_TEN.
AT_PDF_FIXED flatness Line flatness, corresponding to the i (setflat) operator. The default value is IG_PDF_FIXED_ZERO.
LONG lineCap Line cap style, corresponding to the J (setlinecap) operator. The default value is 0.
LONG lineJoin Line join style, corresponding to the j (setlinejoin) operator. The default value is 0.
HIG_PDF_ATOM renderIntent A color rendering intent, corresponding to the Intent key in the image dictionary. The default value is 0.
HIG_PDE_OBJECT extGState An extended graphics, corresponding to the gs operator. The default value is NULL.
©2012. Accusoft Corporation. All Rights Reserved.