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.
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
C Display