<?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[Ellipse ohne Brush]]></title><description><![CDATA[<p>Moin,<br />
ich möchte einen Kreis zeichnen mittels CDC::Ellipse. Hierbei wird der zuletzt eingestellte Brush verwendet. Wie kann ich nun aber einen Kreis zeichnen ohne Füllung?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/193870/ellipse-ohne-brush</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 04:42:16 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/193870.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Oct 2007 07:56:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ellipse ohne Brush on Mon, 01 Oct 2007 07:56:33 GMT]]></title><description><![CDATA[<p>Moin,<br />
ich möchte einen Kreis zeichnen mittels CDC::Ellipse. Hierbei wird der zuletzt eingestellte Brush verwendet. Wie kann ich nun aber einen Kreis zeichnen ohne Füllung?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1375721</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1375721</guid><dc:creator><![CDATA[Maler]]></dc:creator><pubDate>Mon, 01 Oct 2007 07:56:33 GMT</pubDate></item><item><title><![CDATA[Reply to Ellipse ohne Brush on Mon, 01 Oct 2007 08:32:53 GMT]]></title><description><![CDATA[<p>// wegedit wegen bloedsinn #gg</p>
<p>// hinedit<br />
// aus meinen QT zusammengestuetzelt</p>
<pre><code class="language-cpp">PAINTSTRUCT ps;
HDC hDC = BeginPaint(m_MainWindow, &amp;ps);
::SetBkMode(hDC, TRANSPARENT);

HPEN hPen = ::CreatePen(...);
::SelectObject(hDC, hPen);

::Ellipse(hDC, 10, 10, 20, 20);

::DeleteObject(hPen);

EndPaint(m_MainWindow, &amp;ps);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1375740</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1375740</guid><dc:creator><![CDATA[EXDW]]></dc:creator><pubDate>Mon, 01 Oct 2007 08:32:53 GMT</pubDate></item><item><title><![CDATA[Reply to Ellipse ohne Brush on Mon, 01 Oct 2007 08:31:44 GMT]]></title><description><![CDATA[<p>Hinter dem zu zeichnenden Kreis liegt ein Foto, welches im Kreisinneren weiterhin sichtbar bleiben soll.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1375744</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1375744</guid><dc:creator><![CDATA[Maler]]></dc:creator><pubDate>Mon, 01 Oct 2007 08:31:44 GMT</pubDate></item><item><title><![CDATA[Reply to Ellipse ohne Brush on Mon, 01 Oct 2007 09:07:37 GMT]]></title><description><![CDATA[<p>Mein Kontext sieht folgendermaßen aus:</p>
<pre><code class="language-cpp">void MMFC2dView::OnPaint(){
	if (!m_bNoRepaint){
		CPaintDC dc(this); 
...
		dc.MoveTo(x,y);
		dc.Ellipse(x-r, y-r, x+r,y+r );
...
</code></pre>
<p>Wie kann ich nun erreichen, dass die Ellipse nicht mit gefüllt wird???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1375774</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1375774</guid><dc:creator><![CDATA[Maler]]></dc:creator><pubDate>Mon, 01 Oct 2007 09:07:37 GMT</pubDate></item><item><title><![CDATA[Reply to Ellipse ohne Brush on Mon, 01 Oct 2007 09:25:06 GMT]]></title><description><![CDATA[<p>Genau wie ich es oben beschrieb</p>
<pre><code class="language-cpp">void MMFC2dView::OnPaint(){
	if (!m_bNoRepaint){
		CPaintDC dc(this); 
...
		dc.SetBkMode(TRANSPARENT)
		dc.MoveTo(x,y);
		dc.Ellipse(x-r, y-r, x+r,y+r );
...
</code></pre>
<p>evtl musst du noch den pen per hand setzen, aber glaub ich nicht</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1375796</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1375796</guid><dc:creator><![CDATA[EXDW]]></dc:creator><pubDate>Mon, 01 Oct 2007 09:25:06 GMT</pubDate></item><item><title><![CDATA[Reply to Ellipse ohne Brush on Mon, 01 Oct 2007 10:14:34 GMT]]></title><description><![CDATA[<p>Bei mir wird der Kreis weiterhin gefüllt, trotz &quot;dc.SetBkMode(TRANSPARENT);&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1375830</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1375830</guid><dc:creator><![CDATA[Maler]]></dc:creator><pubDate>Mon, 01 Oct 2007 10:14:34 GMT</pubDate></item></channel></rss>