<?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[TBitmap leeren]]></title><description><![CDATA[<p>Hi Leute,<br />
Ich verwende um die TBItmap &quot;Buffer&quot; zu leeren folgende 4 Zeilen in meinem Programm:</p>
<pre><code>buffer-&gt;Height=0;
buffer-&gt;Width=0;
buffer-&gt;Height=200;
buffer-&gt;Width=400
</code></pre>
<p>Leider verbrauchen diese sehr viel Performance.<br />
Gibt es eine andere Möglichkeit den buffer zu leeren?<br />
Tschüss<br />
David</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/162496/tbitmap-leeren</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 19:25:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/162496.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Oct 2006 09:12:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TBitmap leeren on Thu, 19 Oct 2006 09:12:32 GMT]]></title><description><![CDATA[<p>Hi Leute,<br />
Ich verwende um die TBItmap &quot;Buffer&quot; zu leeren folgende 4 Zeilen in meinem Programm:</p>
<pre><code>buffer-&gt;Height=0;
buffer-&gt;Width=0;
buffer-&gt;Height=200;
buffer-&gt;Width=400
</code></pre>
<p>Leider verbrauchen diese sehr viel Performance.<br />
Gibt es eine andere Möglichkeit den buffer zu leeren?<br />
Tschüss<br />
David</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1157483</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157483</guid><dc:creator><![CDATA[777]]></dc:creator><pubDate>Thu, 19 Oct 2006 09:12:32 GMT</pubDate></item><item><title><![CDATA[Reply to TBitmap leeren on Thu, 19 Oct 2006 09:20:31 GMT]]></title><description><![CDATA[<p>Warum löschst du das Bitmap nicht einfach (delete)?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1157491</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157491</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Thu, 19 Oct 2006 09:20:31 GMT</pubDate></item><item><title><![CDATA[Reply to TBitmap leeren on Thu, 19 Oct 2006 09:25:31 GMT]]></title><description><![CDATA[<p>Danach kann ich sie ja nicht mehr verwenden <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1157496</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157496</guid><dc:creator><![CDATA[777]]></dc:creator><pubDate>Thu, 19 Oct 2006 09:25:31 GMT</pubDate></item><item><title><![CDATA[Reply to TBitmap leeren on Thu, 19 Oct 2006 09:29:29 GMT]]></title><description><![CDATA[<p>Und folgende Zeilen bewirken zwar das Selbe- die Performance ist dennoch weg <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<pre><code>delete(buffer);
buffer = new Graphics::TBitmap;
buffer-&gt;Width=Levelgroessex*lx;
buffer-&gt;Height=Levelgroessey*ly;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1157498</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157498</guid><dc:creator><![CDATA[777]]></dc:creator><pubDate>Thu, 19 Oct 2006 09:29:29 GMT</pubDate></item><item><title><![CDATA[Reply to TBitmap leeren on Thu, 19 Oct 2006 09:33:25 GMT]]></title><description><![CDATA[<p>versuch mal das:</p>
<pre><code class="language-cpp">buffer-&gt;Assign(NULL);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1157500</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157500</guid><dc:creator><![CDATA[Linnea]]></dc:creator><pubDate>Thu, 19 Oct 2006 09:33:25 GMT</pubDate></item><item><title><![CDATA[Reply to TBitmap leeren on Thu, 19 Oct 2006 09:39:22 GMT]]></title><description><![CDATA[<p>Funktioniert- hakt aber genauso- ich denk das geht einfach nicht ohne Performance- ich muss mir was anderes einfallen lassen^^<br />
Aber danke für eure Hilfe <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":-)"
      alt="🙂"
    /></p>
<p><em>Edit: Problem hat sich jetzt erledigt, weil ich einen Weg gefunden habe, bei dem der buffer nur viel seltener gelöscht und wieder hergestellt werden muss.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1157504</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157504</guid><dc:creator><![CDATA[777]]></dc:creator><pubDate>Thu, 19 Oct 2006 09:39:22 GMT</pubDate></item></channel></rss>