This structure is used by the IG_gui_ip_gaussian_blur_dlg function to choose parameters and apply the Gaussian Blur transform.
Copy Code
|
|
---|---|
typedef struct tag AT_IGGUI_IP_GAUSSIAN_BLUR { DWORD cbSize; UINT uFlags; HIGEAR hIGear; HWND hWnd; LPCHAR lpszTitle; AT_RECT rc; double dblRadius; AT_ERRCOUNT nErrCount; LPFNIGGUI_IP_UPDATE lpfnUpdateProc; }AT_IGGUI_IP_SMOOTH; |
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 the image to be affected. |
dblRadius | double | Defines the neighborhood to be considered for each pixel. The value (AT_INT)(Sigma * 3 + 0.5) * 2 + 1 cannot be greater than the smaller of the two image dimensions. |
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. |