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

This structure is used by the IG_gui_fx_pixelate_dlg function to redraw an image using what appears to be very large pixels.

Declaration:

 
Copy Code
typedef struct tag AT_IGGUI_FX_PIXELATE
{
        DWORD cbSize;
        UINT uFlags;
        HIGEAR hIGear;
        HWND hWnd;
        LPCHAR lpszTitle;
        AT_RECT rc;
        AT_DIMENSION nXRes;
        AT_DIMENSION nYRes;
        AT_MODE nInputMode;
        AT_MODE nResult;
        WORD nRadius;
        AT_RGB rgbBkColor;
        AT_ERRCOUNT nErrCount;
        LPFNIGGUI_FX_UPDATE lpfnUpdateProc;
}AT_IGGUI_FX_PIXELATE;

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.
nXRes AT_DIMENSION A distance between the new pixels in the horizontal direction.
nYRes AT_DIMENSION A distance between the new pixels in the vertical direction.
nInputMode AT_MODE An IG_RESAMPLE_IN_ constant. These are listed in accucnst.h.
nResult AT_MODE IG_RESAMPLE_OUT_SQUARE or _CIRCLE, the type of result to produce.
nRadius WORD A radius of new "pixels", in pixels. Only applicable if nResult = IG_RESAMPLE_OUT_CIRCLE.
rgbBkColor AT_RGB A far pointer to an AT_RGB struct specifying the background color surrounding the output circle.
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.