mirror of
https://github.com/reactos/reactos.git
synced 2026-07-05 00:44:19 +08:00
Make StretchBlt() call NtGdiStretchBlt() if src and dest sizes differs, otherwise calls BitBlt() as it was already done.
svn path=/trunk/; revision=6862
This commit is contained in:
@@ -264,10 +264,21 @@ StretchBlt(
|
||||
nYOriginSrc, // y-coordinate of source upper-left corner
|
||||
dwRop // raster operation code
|
||||
);
|
||||
} else
|
||||
{
|
||||
DPRINT1("FIXME: StretchBlt is in development phase now...\n");
|
||||
return NtGdiStretchBlt(hdcDest,
|
||||
nXOriginDest,
|
||||
nYOriginDest,
|
||||
nWidthDest,
|
||||
nHeightDest,
|
||||
hdcSrc,
|
||||
nXOriginSrc,
|
||||
nYOriginSrc,
|
||||
nWidthSrc,
|
||||
nHeightSrc,
|
||||
dwRop);
|
||||
}
|
||||
|
||||
DPRINT1("FIXME: StretchBlt can only Blt, not Stretch!\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user