<?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: Define scale of gradient fill in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175763#M19619</link>
    <description>poly2_b{5} was added in AC13 &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Experiment a bit with the fill distortion matrix in the {4} poly2_b version. I never did that but I think it has the same way for controlling the transient length.&lt;BR /&gt;
&lt;BR /&gt;
Sorry, I'm of this little help...&lt;BR /&gt;
&lt;BR /&gt;
Regs,</description>
    <pubDate>Thu, 22 Jul 2010 07:18:40 GMT</pubDate>
    <dc:creator>ztaskai</dc:creator>
    <dc:date>2010-07-22T07:18:40Z</dc:date>
    <item>
      <title>Define scale of gradient fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175758#M19614</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi,&lt;BR /&gt;
   I can't seem to find a way of defining the extent of a radial gradient fill.&lt;BR /&gt;
&lt;BR /&gt;
My code is:
&lt;PRE&gt;	DEFINE RADIAL_GRADIENT_FILL "treetop"

	FILL "treetop"

	poly2_b{2} 2,2,fill_pen_col,back_pen, 0,0,180,
	0,0,901,
	1.5,360,4001
&lt;/PRE&gt;

Although poly2_b{2} lets me define the origin and angle, there's nothing to say how far the gradient reaches. What I'm after is a radial gradient in the circle that starts in the centre and finishes at the radius of the circle - currently, it just seems to stop about halfway.&lt;BR /&gt;
&lt;BR /&gt;
Should this be defined in the RADIAL_GRADIENT_FILL definition, or in the poly2_b{2} command?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Derek&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Jul 2010 08:19:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175758#M19614</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2010-07-20T08:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Define scale of gradient fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175759#M19615</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
The solution is in the POLY2_B{4} and {5} variants. POLY2_B{2} is older than the gradient fill, consequently it cannot control the gradient length.&lt;BR /&gt;
&lt;BR /&gt;
Regs,</description>
      <pubDate>Tue, 20 Jul 2010 14:06:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175759#M19615</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2010-07-20T14:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Define scale of gradient fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175760#M19616</link>
      <description>Could you give me an example of POLY2_B{5} in use, or a link to an online reference? I can't find it in the manual...&lt;BR /&gt;
&lt;BR /&gt;
Thanks!</description>
      <pubDate>Tue, 20 Jul 2010 14:11:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175760#M19616</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2010-07-20T14:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Define scale of gradient fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175761#M19617</link>
      <description>v14 GDL manual: &lt;A href="http://download.graphisoft.com/ftp/gdl/manual/14" target="_blank"&gt;http://download.graphisoft.com/ftp/gdl/manual/14&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
POLY2_B{5} in v14 GDL manual: &lt;A href="http://download.graphisoft.com/ftp/gdl/manual/14/wwhelp/wwhimpl/common/html/wwhelp.htm?context=AC14_GDL_Help&amp;amp;file=05_GDL.5.12.html" target="_blank"&gt;&lt;LINK_TEXT text="http://download.graphisoft.com/ftp/gdl/ ... .5.12.html"&gt;http://download.graphisoft.com/ftp/gdl/manual/14/wwhelp/wwhimpl/common/html/wwhelp.htm?context=AC14_GDL_Help&amp;amp;file=05_GDL.5.12.html&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
As far as I can remember, the length of the direction vector sets the transition length for linear gradients.&lt;BR /&gt;
&lt;BR /&gt;
Regs,</description>
      <pubDate>Tue, 20 Jul 2010 15:39:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175761#M19617</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2010-07-20T15:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Define scale of gradient fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175762#M19618</link>
      <description>Thanks Zsolt. We're still using AC12 - can I still use POLY2_B{5}?&lt;BR /&gt;
&lt;BR /&gt;
It keeps giving me a "Bad (unimplemented) command version" warning...</description>
      <pubDate>Wed, 21 Jul 2010 12:35:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175762#M19618</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2010-07-21T12:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Define scale of gradient fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175763#M19619</link>
      <description>poly2_b{5} was added in AC13 &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Experiment a bit with the fill distortion matrix in the {4} poly2_b version. I never did that but I think it has the same way for controlling the transient length.&lt;BR /&gt;
&lt;BR /&gt;
Sorry, I'm of this little help...&lt;BR /&gt;
&lt;BR /&gt;
Regs,</description>
      <pubDate>Thu, 22 Jul 2010 07:18:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175763#M19619</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2010-07-22T07:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Define scale of gradient fill</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175764#M19620</link>
      <description>Cheers. &lt;BR /&gt;
&lt;BR /&gt;
I've managed to fully control the linear gradient using POLY2_B{4}, but no luck as yet on the radial. &lt;BR /&gt;
&lt;BR /&gt;
Changing the mxx, mxy, myx, myy values seems to let me double the extent of the radial gradient, but no more - can't yet get it to reach to the full extent of the object. If anyone has managed it in AC12, please let me know how...&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Derek</description>
      <pubDate>Thu, 22 Jul 2010 07:54:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Define-scale-of-gradient-fill/m-p/175764#M19620</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2010-07-22T07:54:04Z</dc:date>
    </item>
  </channel>
</rss>

