GDI+ Image proportional
-
Hallo,
wie kann ich beim Laden eines Bildes in GDI+ das Bild proportional darstellen lassen ?
Gdiplus::Image image(L"Kopie von Image01.bmp"); Gdiplus::Graphics graphics(Image1->Canvas->Handle); //Gdiplus::Rect destRect(0, 0, 561, 522); Gdiplus::Rect destRect(0, 0, image.GetWidth() / 4, image.GetHeight() / 4); graphics.DrawImage(&image, destRect);DANKE