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

This structure is used by the IG_gui_fx_motion_dlg function to cause an image to look as if it was moving when the image was captured.

Declaration:

 
Copy Code
typedef struct tag AT_IGGUI_FX_MOTION
{
        DWORD cbSize;
        UINT uFlags;
        HIGEAR hIGear;
        HWND hWnd;
        LPCHAR lpszTitle;
        AT_RECT rc;
        UINT nExtent;
        AT_MODE nCompassDir;
        AT_ERRCOUNT nErrCount;
        LPFNIGGUI_FX_UPDATE lpfnUpdateProc;
}AT_IGGUI_FX_MOTION;

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.
nExtent UINT Set to a UINT for the amount of motion you would like applied. If nCompassDir is set to "S, W, E, N", the correct range for this variable is 2 - 17. If nCompassDir is set to "SE, NE, NW, SW", the correct range for this variable is 3 - 22. This variable determines the extent to which the pixels will be "moved" or "smeared." It is the number of pixel lengths to be "moved over".
nCompassDir AT_MODE An AT_MODE 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.