upside down Bitmap image
-
By drawing Bitmap, utilizing "StretchBlt" (VC++ 6), I get upside down image. Please suggest ways to get the correct Bitmap picture. Any help would be greatly appreciated. German Ls2333@mail.biu.ac.il
-
By drawing Bitmap, utilizing "StretchBlt" (VC++ 6), I get upside down image. Please suggest ways to get the correct Bitmap picture. Any help would be greatly appreciated. German Ls2333@mail.biu.ac.il
dc.SetWindowOrg(m_rect.TopLeft());
-
By drawing Bitmap, utilizing "StretchBlt" (VC++ 6), I get upside down image. Please suggest ways to get the correct Bitmap picture. Any help would be greatly appreciated. German Ls2333@mail.biu.ac.il
Change the hight sign. Read the MSDN snippet about StretchBlt: StretchBlt creates a mirror image of a bitmap if the signs of the nWidthSrc and nWidthDest parameters or if the nHeightSrc and nHeightDest parameters differ. If nWidthSrc and nWidthDest have different signs, the function creates a mirror image of the bitmap along the x-axis. If nHeightSrc and nHeightDest have different signs, the function creates a mirror image of the bitmap along the y-axis.