This structure is used by the IG_gui_ip_rotate_any_dlg function to rotate the image around its center.
Declaration:
| |
Copy Code |
typedef struct tag AT_IGGUI_IP_ROTATE_ANY
{
DWORD cbSize;
UINT uFlags;
HIGEAR hIGear;
HWND hWnd;
LPCHAR lpszTitle;
INT nAngle;
AT_MODE nMode;
LPAT_PIXEL lpBkgndColor;
AT_ERRCOUNT nErrCount;
LPFNIGGUI_IP_UPDATE lpfnUpdateProc;
}AT_IGGUI_IP_ROTATE_ANY;
|
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. |
| nAngle |
INT |
An angle to rotate in degrees; a positive value. |
| nMode |
AT_MODE |
An integer variable of type AT_MODE defined in accucnst.h. The value can be either IG_ROTATE_CLIP or IG_ROTATE_EXPAND, indicating whether to clip the rotated image to keep the image bitmap the same size, or expand the size of the bitmap to retain the entire rotated image. |
| lpBkgndColor |
LPAT_PIXEL |
A far pointer to the RGB or pixel value that specifies the background color to be used in the displaced areas after the image has been rotated. |
| nErrCount |
AT_ERRCOUNT |
The number of ImageGear errors that occurred during this function call. |
| lpfnUpdateProc |
LPFNIGGUI_IP_UPDATE |
A pointer to the function that is called when the 'Apply' button is clicked. |