 |
BitBlt ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The BitBlt function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL BitBlt(
HDC hdcDest, // handle to destination DC
int nXDest, // x-coord of destination upper-left corner
int nYDest, // y-coord of destination upper-left corner
int nWidth, // width of destination rectangle
int nHeight, // height of destination rectangle
HDC hdcSrc, // handle to source DC
int nXSrc, // x-coordinate of source upper-left corner
int nYSrc, // y-coordinate of source upper-left corner
DWORD dwRop // raster operation code
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER BitBlt IN gdi32;
INTEGER hDestDC,;
INTEGER x,;
INTEGER y,;
INTEGER nWidth,;
INTEGER nHeight,;
INTEGER hSrcDC,;
INTEGER xSrc,;
INTEGER ySrc,;
INTEGER dwRop
|
 |
 |
 |
| Parameters: |
 |
hdcDest
[in] Handle to the destination device context.
nXDest
[in] Specifies the logical x-coordinate of the upper-left corner of the destination rectangle.
nYDest
[in] Specifies the logical y-coordinate of the upper-left corner of the destination rectangle.
nWidth
[in] Specifies the logical width of the source and destination rectangles.
nHeight
[in] Specifies the logical height of the source and the destination rectangles.
hdcSrc
[in] Handle to the source device context.
nXSrc
[in] Specifies the logical x-coordinate of the upper-left corner of the source rectangle.
nYSrc
[in] Specifies the logical y-coordinate of the upper-left corner of the source rectangle.
dwRop
[in] Specifies a raster-operation code. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero. |
 |
 |
| My comment: |
 |
Not all devices support the BitBlt function. For more information, see the RC_BITBLT raster capability entry in the GetDeviceCaps function as well as the following functions: MaskBlt, PlgBlt, and StretchBlt.
BitBlt returns an error if the source and destination device contexts represent different devices. |
 |
 |
| Word Index links for the BitBlt : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-09-19 12:00:00 | | Modified: | 2001-11-26 16:03:42 | Visited in last 7 days: 87 |