<?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[PolyLineTo funktioniert nicht..]]></title><description><![CDATA[<p>irgendwie wird nichts gemalt...</p>
<pre><code class="language-cpp">[cpp]POINT Rect[4];
Rect[0] = 800;
Rect[1] = 800;
Rect[2] = 800;
Rect[3] = 800;
draw(Rect)

int draw(POINT *ppt) {
PolylineTo(GetDC(NULL), ppt, 4);
return 0;
}
</code></pre>
<p>[/cpp]</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/202554/polylineto-funktioniert-nicht</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 18:27:52 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/202554.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 12 Jan 2008 20:18:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PolyLineTo funktioniert nicht.. on Sat, 12 Jan 2008 20:18:24 GMT]]></title><description><![CDATA[<p>irgendwie wird nichts gemalt...</p>
<pre><code class="language-cpp">[cpp]POINT Rect[4];
Rect[0] = 800;
Rect[1] = 800;
Rect[2] = 800;
Rect[3] = 800;
draw(Rect)

int draw(POINT *ppt) {
PolylineTo(GetDC(NULL), ppt, 4);
return 0;
}
</code></pre>
<p>[/cpp]</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1435616</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1435616</guid><dc:creator><![CDATA[Polygon]]></dc:creator><pubDate>Sat, 12 Jan 2008 20:18:24 GMT</pubDate></item><item><title><![CDATA[Reply to PolyLineTo funktioniert nicht.. on Sat, 12 Jan 2008 20:21:00 GMT]]></title><description><![CDATA[<p>ist das die moderne art zu trollen oder ist das wirklich ernst gemeint? sorry, ich kann mich auch irren <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>
]]></description><link>https://www.c-plusplus.net/forum/post/1435618</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1435618</guid><dc:creator><![CDATA[sothis_]]></dc:creator><pubDate>Sat, 12 Jan 2008 20:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to PolyLineTo funktioniert nicht.. on Sat, 12 Jan 2008 20:34:33 GMT]]></title><description><![CDATA[<p>was denn?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1435621</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1435621</guid><dc:creator><![CDATA[Polygon]]></dc:creator><pubDate>Sat, 12 Jan 2008 20:34:33 GMT</pubDate></item><item><title><![CDATA[Reply to PolyLineTo funktioniert nicht.. on Sat, 12 Jan 2008 20:39:55 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">Rect[0] = 800;
Rect[1] = 800;
Rect[2] = 800;
Rect[3] = 800;
</code></pre>
<p>eine POINT struktur hat 2 members. x und y. um also einen POINT zu initialisieren musst du beide member mit leben füllen:</p>
<pre><code class="language-cpp">Rect[0].x = 250;
Rect[0].y = 310;
</code></pre>
<p>zum beispiel. desweiteren solltest du auch 4 _verschiedene_ punkte definieren, um tatsächlich ein sichtbares polygon zeichnen zu können. sorry, aber dieser fehler war mir ein wenig zu offensichtlich, nunja, sorry nochmal, man kann sich ja irren <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>
]]></description><link>https://www.c-plusplus.net/forum/post/1435623</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1435623</guid><dc:creator><![CDATA[sothis_]]></dc:creator><pubDate>Sat, 12 Jan 2008 20:39:55 GMT</pubDate></item><item><title><![CDATA[Reply to PolyLineTo funktioniert nicht.. on Sat, 12 Jan 2008 20:58:06 GMT]]></title><description><![CDATA[<p>Achja, muss ich jetzt mal überprüfen ^^'</p>
<p>Das mit dem = 800 habe ich eigentlich nicht im Code stehen....<br />
Die Punkte werden berechnet, und wenn ich dann<br />
printf(&quot;%d&quot;, Rect[0]);<br />
schreibe, kommt 800 heraus...</p>
<p>Ich gucke mal eben, ob ich es hinbekomme, danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1435630</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1435630</guid><dc:creator><![CDATA[Polygon]]></dc:creator><pubDate>Sat, 12 Jan 2008 20:58:06 GMT</pubDate></item></channel></rss>