This function displays the specified bitmap at the specified coordinates in the specified device context.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_DDB_draw( HWND hWnd, HDC hDC, HBITMAP hBitmap, HPALETTE hPalette, AT_PIXPOS x, AT_PIXPOS y ); |
Arguments:
Name | Type | Description |
hWnd | HWND | This reference is unused. |
hDC | HDC | HDC to which to display the specified hBitmap. |
hBitmap | HBITMAP | HBITMAP to display on the specified hDC. |
hPalette | HPALETTE | HPALETTE of the specified hBitmap. |
x | AT_PIXPOS | The x coordinate of the destination hDC to display the hBitmap. |
Y | AT_PIXPOS | The y coordinate of the destination hDC to display the hBitmap. |
Return Value:
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
To determine the number of errors currently on the error stack use IG_error_check. After fetching all error information you need using IG_error_get, use IG_error_clear to clear the stack. |
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
C Display