This structure is used by the IG_gui_fx_chroma_key_dlg function to blend two images.
Declaration:
| |
Copy Code |
typedef struct tagAT_IGGUI_FX_CHROMA_KEY
{
DWORD cbSize;
UINT uFlags;
HIGEAR hIGear;
HWND hWnd;
LPCHAR lpszTitle;
AT_RECT rc;
CHAR szBkFileName[_MAX_PATH];
DOUBLE dblHueCenter;
DOUBLE dblHueRange;
UINT nSmooth;
UINT nIntensity;
AT_ERRCOUNT nErrCount;
LPFNIGGUI_FX_UPDATE lpfnUpdateProc;
}AT_IGGUI_FX_CHROMA_KEY;
|
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 rectangular portion of the image to be processed. |
| szBkFileName |
CHAR[_MAX_PATH] |
A file name of the image from which to insert the hue match. |
| dblHueCenter |
DOUBLE |
An angle in degrees (in the standard Color Wheel) of the hue to match. 0.0 - 360.0 (360 == 0). |
| dblHueRange |
DOUBLE |
The range to allow (in degrees) on either side. 0.0 - 360.0. |
| nSmooth |
UINT |
An integer from 0 to 25 specifying how much to smooth the transition. 0 gives the sharpest edge. |
| nIntensity |
UINT |
An intensity below which to ignore hue, and fail the match (0 - 255). |
| 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. |