<div dir="ltr">Great! <div>Thanks a lot</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-22 17:17 GMT+01:00 Miller Puckette <span dir="ltr"><<a href="mailto:msp@ucsd.edu" target="_blank">msp@ucsd.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Arrays are actually scalar objects; you get to their template using<br>
the sc_template field.  You can get it using<br>
<br>
template_getfloat( template_findbyname(x->x_<wbr>scalar->sc_template),<br>
            gensym("style"), x->x_scalar->sc_vec, 1);<br>
<br>
and change it using<br>
<br>
        template_setfloat(<wbr>scalartemplate, gensym("style"),<br>
            x->x_scalar->sc_vec, (t_float)style, 0);<br>
<br>
cheers<br>
Miller<br>
<div><div class="h5"><br>
On Thu, Feb 22, 2018 at 02:45:17PM +0100, Pierre Guillot wrote:<br>
> In Pd you can change the drawing mode of an array:<br>
> - polygon<br>
> - points<br>
> - bezier curve<br>
> I'd like to know if there is a way in C to find which mode is used. I can't<br>
> find anything in the _glist structure nor in the _garray.<br>
> Thanks,<br>
><br>
> Pierre<br>
<br>
</div></div>> ______________________________<wbr>_________________<br>
> Pd-dev mailing list<br>
> <a href="mailto:Pd-dev@lists.iem.at">Pd-dev@lists.iem.at</a><br>
> <a href="https://lists.puredata.info/listinfo/pd-dev" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-dev</a><br>
<br>
</blockquote></div><br></div>