<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Poly2 - Fill &amp;amp; Outline combined in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Poly2-Fill-amp-Outline-combined/m-p/289152#M3514</link>
    <description>Use POLY2_B.</description>
    <pubDate>Fri, 30 Jul 2021 13:44:16 GMT</pubDate>
    <dc:creator>runxel</dc:creator>
    <dc:date>2021-07-30T13:44:16Z</dc:date>
    <item>
      <title>Poly2 - Fill &amp; Outline combined</title>
      <link>https://community.graphisoft.com/t5/GDL/Poly2-Fill-amp-Outline-combined/m-p/289151#M3513</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi GDL Experts,&lt;BR /&gt;&lt;BR /&gt;A simple question, is it possible to write both the fill and the outline in the same code shape syntax? &lt;BR /&gt;&lt;BR /&gt;Currently I write two pieces of Syntax, one for the fill and one for the outline:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;!=== Fill Syntax
pen 1
SET FILL "Solid"
POLY2_ 5,7,
0,0,1,
A,0,1,
A,B,1,
0,B,1,
0,0,-1

!=== Outline Syntax
pen 1
LINE2 0,0,A,0
LINE2 A,0,A,B
LINE2 A,B,0,B
LINE2 0,B,0,0
&lt;/PRE&gt;
&lt;BR /&gt;Is there a way to combine them so that I don't double up the code?&lt;BR /&gt;&lt;BR /&gt;Many thanks in advance!&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 06:55:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Poly2-Fill-amp-Outline-combined/m-p/289151#M3513</guid>
      <dc:creator>GDL Enthusiast</dc:creator>
      <dc:date>2021-09-14T06:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Poly2 - Fill &amp; Outline combined</title>
      <link>https://community.graphisoft.com/t5/GDL/Poly2-Fill-amp-Outline-combined/m-p/289152#M3514</link>
      <description>Use POLY2_B.</description>
      <pubDate>Fri, 30 Jul 2021 13:44:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Poly2-Fill-amp-Outline-combined/m-p/289152#M3514</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2021-07-30T13:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Poly2 - Fill &amp; Outline combined</title>
      <link>https://community.graphisoft.com/t5/GDL/Poly2-Fill-amp-Outline-combined/m-p/289153#M3515</link>
      <description>Any POLY2, POLY2_, POLY2_A, POLY2_B etc have second parameter, that defines presence of fill and outline. This parameter can be written as 1+2+4 where 1 means draw contour, 2 - draw fill, 4 - close an open polygon.&lt;BR /&gt;
In your case you have chosen 7 - so it works. If you want to use different pens for fill and outline, use POLY2_A, POLY2_B or POLY2_B{2}.&lt;BR /&gt;
For more details refer to GDL user manual.</description>
      <pubDate>Sun, 01 Aug 2021 06:16:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Poly2-Fill-amp-Outline-combined/m-p/289153#M3515</guid>
      <dc:creator>Podolsky</dc:creator>
      <dc:date>2021-08-01T06:16:43Z</dc:date>
    </item>
  </channel>
</rss>

