[PD] changing line width in Gem

Antoine Rousseau antoine at metalu.net
Thu Apr 16 18:17:48 CEST 2020


> is there any chance to change the width of the lines when you send the
> message [draw line( to any of the geometrical objects?

use:  [width $1(
1 to 10 (but no more...)


 Antoine Rousseau
  http://www.metalu.net <http://metalu.net> __
http://www.metaluachahuter.com/
<http://www.metaluachahuter.com/compagnies/al1-ant1/>



Le jeu. 16 avr. 2020 à 17:44, Csaba Láng <langcsaba at gmail.com> a écrit :

> Perfect, thanks a lot!
>
> On Thu, Apr 16, 2020 at 4:41 PM rep <pierre at 314r.net> wrote:
>
>> Hi Popesz
>>
>> Le 2020-04-16 13:35, Csaba Láng a écrit :
>> > Dear list,
>> >
>> > is there any chance to change the width of the lines when you send the
>> > message [draw line( to any of the geometrical objects?
>>
>> dont know with [draw line(
>>
>> but you can use [GEMglPolygonMode] with [GEMglLineWidth]
>> see attached patch
>> this solution works with [model] too
>>
>> > I think it is 1px by default, but looking for a solution to make it
>> > bigger.
>>
>> here, I can set it from 1 to 10 (but no more) pixels
>>
>> Pierre
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20200416/2d9c8349/attachment.html>


More information about the Pd-list mailing list