ImageGear for C and C++ on Windows v19.3 - Updated
IG_ARTX_curve_create
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_CURVE > IG_ARTX_curve_create

This function creates a curve mark.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_curve_create( 
        LPAT_POINT lpPoints, 
        AT_INT nNumOfPoints, 
        LPAT_ARTX_BORDER pLine, 
        AT_FLOAT dTension, 
        AT_INT nOpacity, 
        LPHIG_ARTX_CURVE lphMark
);

Arguments:

Name Type Description
lpPoints LPAT_POINT Array of the mark's points.
nNumOfPoints AT_INT Number of the mark's points.
pLine LPAT_ARTX_BORDER Line attributes.
dTension AT_FLOAT Curve tension attribute.
nOpacity AT_INT Opacity of the mark.
lphMark LPHIG_ARTX_CURVE Pointer to the created mark.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Upon successful completion: