This structure is used by the IG_gui_fx_emboss_dlg function to produce a special effect that results in an embossed or 3-D like chiseled-in-stone look to the image.
Copy Code
|
|
---|---|
typedef struct tag AT_IGGUI_FX_EMBOSS
{
DWORD cbSize;
UINT uFlags;
HIGEAR hIGear;
HWND hWnd;
LPCHAR lpszTitle;
AT_RECT rc;
DOUBLE dblStrength;
AT_MODE nCompassDir;
AT_ERRCOUNT nErrCount;
LPFNIGGUI_FX_UPDATE lpfnUpdateProc;
}AT_IGGUI_FX_EMBOSS;
|
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 rectangular portion of the image to be processed. |
dblStrength | DOUBLE | The embossing strength. The valid range is from 1.0 to 5.0. |
nCompassDir | AT_MODE | A constant such as IG_COMPASS_N or IG_COMPASS_SE. |
nErrCount | AT_ERRCOUNT | The number of ImageGear errors that occurred during this function call. |
lpfnUpdateProc | LPFNIGGUI_FX_UPDATE | A pointer to the function that is called when the 'Apply' button is clicked. |