C++ Programming
01-28-2010, 01:50 PM
Hi,
My application is using GDI+ to handle image as a background. It works OK under Windows XP. I found recently that it display very slow under Windows 7.
// stretch the image to the target rectangle
Gdiplus::Graphics gr(dc);
gr.SetPageUnit(Gdiplus::UnitPixel);
gr.DrawImage(pBmp, x1, y1, abs(x2-x1), abs(y2-y1));
What kind problem it could be? How can I solve it?
Thank you very much,
My application is using GDI+ to handle image as a background. It works OK under Windows XP. I found recently that it display very slow under Windows 7.
// stretch the image to the target rectangle
Gdiplus::Graphics gr(dc);
gr.SetPageUnit(Gdiplus::UnitPixel);
gr.DrawImage(pBmp, x1, y1, abs(x2-x1), abs(y2-y1));
What kind problem it could be? How can I solve it?
Thank you very much,