3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS system libraries
5 * FILE: lib/gdi32/object/bitblt.c
21 HDC hdcDest
, // handle to destination DC
22 int nXOriginDest
, // x-coord of destination upper-left corner
23 int nYOriginDest
, // y-coord of destination upper-left corner
24 int nWidthDest
, // width of destination rectangle
25 int nHeightDest
, // height of destination rectangle
26 HDC hdcSrc
, // handle to source DC
27 int nXOriginSrc
, // x-coord of source upper-left corner
28 int nYOriginSrc
, // y-coord of source upper-left corner
29 int nWidthSrc
, // width of source rectangle
30 int nHeightSrc
, // height of source rectangle
31 DWORD dwRop
// raster operation code
34 if ((nWidthDest
!= nWidthSrc
) || (nHeightDest
!= nHeightSrc
))
36 return NtGdiStretchBlt(hdcDest
, nXOriginDest
, nYOriginDest
, nWidthDest
, nHeightDest
,
37 hdcSrc
, nXOriginSrc
, nYOriginSrc
, nWidthSrc
, nHeightSrc
, dwRop
);
40 return NtGdiBitBlt(hdcDest
, nXOriginDest
, nYOriginDest
, nWidthDest
, nHeightDest
, hdcSrc
,
41 nXOriginSrc
, nYOriginSrc
, dwRop
);