ImageGear for C and C++ on Windows v19.10 - Updated
IG_ARTX_polygon_create
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_POLYGON > IG_ARTX_polygon_create

This function creates the Polygon mark.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_polygon_create(
        LPAT_POINT lpPoints,
        AT_DWORD nCount,
        LPAT_RGBQUAD prgbFillColor,
        LPAT_ARTX_BORDER pBorder,
        AT_INT nOpacity,
        LPHIG_ARTX_POLYGON lphMark
);

Arguments:

Name Type Description
lpPoints LPAT_POINT Points array.
nCount AT_DWORD Number of points.
prgbFillColor LPAT_RGBQUAD Fill color of the mark.
pBorder LPAT_ARTX_BORDER Border of the mark.
nOpacity AT_INT Opacity of the mark.
lphMark LPHIG_ARTX_POLYGON Pointer to the created mark.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Upon successful completion: