<?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[Problem beim vergrössern von TImage]]></title><description><![CDATA[<p>Hi</p>
<p>ich weiß ich habe schon einen ähnlichen Beitrag aber ich überlege gerade ob es nicht vieleicht hieran liegt!</p>
<p>Also ich vergrössere Ein TImage und Kopiere ein Bild hinein!</p>
<p>Das TImage wird auch vergrössert aber er zeigt nur den Teil des Bildes der in der vorherigen Grösse des Bildes liegt!</p>
<p>Jemand ne Idee?</p>
<pre><code class="language-cpp">if(realsize)
  {
    imgOrgi-&gt;Width = frmMain-&gt;Zellen[count].width;
    imgOrgi-&gt;Height = frmMain-&gt;Zellen[count].height;
  }
  imgOrgi-&gt;Update();
  imgOrgi-&gt;Refresh();

  TRect   Source, Dest;
  Source = Rect(frmMain-&gt;Zellen[count].x,frmMain-&gt;Zellen[count].y,frmMain-&gt;Zellen[count].x + imgOrgi-&gt;Width,frmMain-&gt;Zellen[count].y + imgOrgi-&gt;Height);
  Dest = Rect(0,0,imgOrgi-&gt;Width, imgOrgi-&gt;Height);

  imgOrgi-&gt;Canvas-&gt;CopyRect(Dest,frmMain-&gt;imgOrgi-&gt;Canvas,Source);
  imgOrgi-&gt;Refresh();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/95748/problem-beim-vergrössern-von-timage</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 03:58:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/95748.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Dec 2004 21:06:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem beim vergrössern von TImage on Wed, 22 Dec 2004 21:06:15 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>ich weiß ich habe schon einen ähnlichen Beitrag aber ich überlege gerade ob es nicht vieleicht hieran liegt!</p>
<p>Also ich vergrössere Ein TImage und Kopiere ein Bild hinein!</p>
<p>Das TImage wird auch vergrössert aber er zeigt nur den Teil des Bildes der in der vorherigen Grösse des Bildes liegt!</p>
<p>Jemand ne Idee?</p>
<pre><code class="language-cpp">if(realsize)
  {
    imgOrgi-&gt;Width = frmMain-&gt;Zellen[count].width;
    imgOrgi-&gt;Height = frmMain-&gt;Zellen[count].height;
  }
  imgOrgi-&gt;Update();
  imgOrgi-&gt;Refresh();

  TRect   Source, Dest;
  Source = Rect(frmMain-&gt;Zellen[count].x,frmMain-&gt;Zellen[count].y,frmMain-&gt;Zellen[count].x + imgOrgi-&gt;Width,frmMain-&gt;Zellen[count].y + imgOrgi-&gt;Height);
  Dest = Rect(0,0,imgOrgi-&gt;Width, imgOrgi-&gt;Height);

  imgOrgi-&gt;Canvas-&gt;CopyRect(Dest,frmMain-&gt;imgOrgi-&gt;Canvas,Source);
  imgOrgi-&gt;Refresh();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/679095</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/679095</guid><dc:creator><![CDATA[dagsta]]></dc:creator><pubDate>Wed, 22 Dec 2004 21:06:15 GMT</pubDate></item><item><title><![CDATA[Reply to Problem beim vergrössern von TImage on Wed, 22 Dec 2004 21:11:57 GMT]]></title><description><![CDATA[<p>Schau Dir mal das an:</p>
<p>Stretch<br />
AutoSize</p>
<p>bei TImage!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/679107</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/679107</guid><dc:creator><![CDATA[DerAltenburger]]></dc:creator><pubDate>Wed, 22 Dec 2004 21:11:57 GMT</pubDate></item><item><title><![CDATA[Reply to Problem beim vergrössern von TImage on Wed, 22 Dec 2004 21:16:05 GMT]]></title><description><![CDATA[<p>habe das auch schon damit probiert bringt mir den gleichen fehler!</p>
<p>Und stretch will ich ja nicht will das das Bild in Original grösse angezeigt wird</p>
]]></description><link>https://www.c-plusplus.net/forum/post/679109</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/679109</guid><dc:creator><![CDATA[dagsta]]></dc:creator><pubDate>Wed, 22 Dec 2004 21:16:05 GMT</pubDate></item><item><title><![CDATA[Reply to Problem beim vergrössern von TImage on Thu, 23 Dec 2004 15:03:36 GMT]]></title><description><![CDATA[<p>Setz mal in TImage Bitmap-&gt;Width/ Bitmap-&gt;Height auf die neue Groesse!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/679593</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/679593</guid><dc:creator><![CDATA[DerAltenburger]]></dc:creator><pubDate>Thu, 23 Dec 2004 15:03:36 GMT</pubDate></item></channel></rss>