<?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[Rectangle Hintergrund festlegen&#x2F;füllen]]></title><description><![CDATA[<p>Hallo,</p>
<p>wie kann ich den Hintegrund eines Rectangles füllen oder festlegen? Außerdem wollte ich noch fragen ob man ein Bild, dass man gemalt hat, z.B. durch viele LineTo einfach füllen kann. Man hätte ja dann einen verbunden Rand des Bildes, das nur noch gefüllt werden muß.</p>
<p>MFG<br />
Bungie</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/56744/rectangle-hintergrund-festlegen-füllen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 02 Jun 2026 09:36:38 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/56744.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Nov 2003 14:56:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Rectangle Hintergrund festlegen&#x2F;füllen on Fri, 28 Nov 2003 14:56:48 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>wie kann ich den Hintegrund eines Rectangles füllen oder festlegen? Außerdem wollte ich noch fragen ob man ein Bild, dass man gemalt hat, z.B. durch viele LineTo einfach füllen kann. Man hätte ja dann einen verbunden Rand des Bildes, das nur noch gefüllt werden muß.</p>
<p>MFG<br />
Bungie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/403971</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/403971</guid><dc:creator><![CDATA[Bungie]]></dc:creator><pubDate>Fri, 28 Nov 2003 14:56:48 GMT</pubDate></item><item><title><![CDATA[Reply to Rectangle Hintergrund festlegen&#x2F;füllen on Sat, 29 Nov 2003 17:18:57 GMT]]></title><description><![CDATA[<p>CDC::FillSolidRect?<br />
CDC::MoveTo &amp; CDC::LineTo?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/404526</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/404526</guid><dc:creator><![CDATA[dEUs]]></dc:creator><pubDate>Sat, 29 Nov 2003 17:18:57 GMT</pubDate></item><item><title><![CDATA[Reply to Rectangle Hintergrund festlegen&#x2F;füllen on Sat, 29 Nov 2003 18:44:56 GMT]]></title><description><![CDATA[<p>A. Ein gefülltes Rechteck zeichnen, Rahmenfarbe != Füllfarbe</p>
<pre><code class="language-cpp">CPen pPen(...);          // MSDN!!!
CBrush pBrush(...);      // MSDN!!!
CRect rRect = CRect(...);

mydc-&gt;SelectObject(&amp;pPen);
mydc-&gt;SelectObject(&amp;pBrush);
mydc-&gt;Rectangle(&amp;rRect);
</code></pre>
<p>B. Ein rot gefülltes Rechteck zeichnen, Rahmenfarbe == Füllfarbe</p>
<pre><code class="language-cpp">CRect rRect = CRect(...);

mydc-&gt;FillSolidRect(&amp;rRect, RGB(255, 0, 0));
</code></pre>
<p>C. Bereich füllen</p>
<p>Schau mal in der MSDN unter <strong>FloodFill</strong> nach</p>
]]></description><link>https://www.c-plusplus.net/forum/post/404599</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/404599</guid><dc:creator><![CDATA[d&#x27;EUs]]></dc:creator><pubDate>Sat, 29 Nov 2003 18:44:56 GMT</pubDate></item></channel></rss>