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

This structure is used by the IG_gui_fx_twist_dlg function to apply a special effect that makes the image look as if it is being viewed through a shower curtain.

Declaration:

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

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.
nType AT_MODE One of IG_TWIST_90, IG_TWIST_180, IG_TWIST_270, or IG_TWIST_RANDOM constants.
nSquareSize UINT The size, in pixels, of the regions to apply twisting (the valid range is between 2 and 50).
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.