<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[GDI+ Image proportional]]></title><description><![CDATA[<p>Hallo,</p>
<p>wie kann ich beim Laden eines Bildes in GDI+ das Bild proportional darstellen lassen ?</p>
<pre><code>Gdiplus::Image image(L&quot;Kopie von Image01.bmp&quot;);
	Gdiplus::Graphics graphics(Image1-&gt;Canvas-&gt;Handle);
	//Gdiplus::Rect destRect(0, 0, 561, 522);
	Gdiplus::Rect destRect(0, 0, image.GetWidth() / 4, image.GetHeight() / 4);
	graphics.DrawImage(&amp;image, destRect);
</code></pre>
<p>DANKE</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/187888/gdi-image-proportional</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 18:47:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/187888.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Jul 2007 09:44:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to GDI+ Image proportional on Wed, 25 Jul 2007 09:44:16 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>wie kann ich beim Laden eines Bildes in GDI+ das Bild proportional darstellen lassen ?</p>
<pre><code>Gdiplus::Image image(L&quot;Kopie von Image01.bmp&quot;);
	Gdiplus::Graphics graphics(Image1-&gt;Canvas-&gt;Handle);
	//Gdiplus::Rect destRect(0, 0, 561, 522);
	Gdiplus::Rect destRect(0, 0, image.GetWidth() / 4, image.GetHeight() / 4);
	graphics.DrawImage(&amp;image, destRect);
</code></pre>
<p>DANKE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1332113</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1332113</guid><dc:creator><![CDATA[BDS]]></dc:creator><pubDate>Wed, 25 Jul 2007 09:44:16 GMT</pubDate></item></channel></rss>