ImageGear for C and C++ on Windows v19.2 - Updated
AT_IGGUI_IP_SHARPEN
API Reference Guide > GUI Component API Reference > GUI Component Structures Reference > AT_IGGUI_IP_SHARPEN

This structure is used by the IG_gui_ip_sharpen_dlg function to cause the dark side of a contrast edge to become darker and the light side to become lighter.

Declaration:

 
Copy Code
typedef struct tag AT_IGGUI_IP_SHARPEN
{
        DWORD cbSize;
        UINT uFlags;
        HIGEAR hIGear;
        HWND hWnd;
        LPCHAR lpszTitle;
        AT_RECT rc;
        INT nFactor;
        AT_ERRCOUNT nErrCount;
        LPFNIGGUI_IP_UPDATE lpfnUpdateProc;
}AT_IGGUI_IP_SHARPEN;

Members:

Name Type Description
cbSize DWORD Specifies the length, in bytes, of the structure.
uFlags UINT A set of bit flags you can use to initialize the dialog box.
hIGear HIGEAR A handle of an image.
hWnd HWND A handle of the window to update.
lpszTitle LPCHAR A dialog title.
rc AT_RECT An AT_RECT struct specifying the portion of image to be affected.
nFactor INT The factor indicating the degree of sharpness be decreased or the degree of smoothness to be increased. The valid range is from 1 to 4.
nErrCount AT_ERRCOUNT The number of ImageGear errors that occurred during this function call.
lpfnUpdateProc LPFNIGGUI_IP_UPDATE A pointer to the function that is called when the 'Apply' button is clicked.