Make StretchBlt() call NtGdiStretchBlt() if src and dest sizes differs, otherwise...
authorAleksey Bragin <aleksey@reactos.org>
Thu, 4 Dec 2003 21:37:07 +0000 (21:37 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Thu, 4 Dec 2003 21:37:07 +0000 (21:37 +0000)
svn path=/trunk/; revision=6862

reactos/lib/gdi32/objects/bitblt.c

index d940273..53c9323 100644 (file)
@@ -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;
 }