GDI+画图问题,如何用Graphics画图。
Graphics graphics(hdc);
// Create an Image object.
Image image(L"climber.jpg");//
// Create an array of Point objects that specify the destination of the image.
Point destPoints[3] = {
Point(30, 30),
Point(250, 50),
Point(175, 120)};
Point* pdestPoints = destPoints;
// Draw the image.
Image image(L"climber.jpg");返回的结果如下:
- image {nativeImage=0x00000000 lastResult=OutOfMemory loadStatus=-858993460 } Gdiplus::Image
给点代码先,谢谢。