[PD] changing line width in Gem

cyrille henry ch at chnry.net
Thu Apr 16 20:52:27 CEST 2020



Le 16/04/2020 à 18:17, Antoine Rousseau a écrit :
>> 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...)
the max limit depend on your hardware. It's not a software limitation...

cheers
c

> 
> 
>   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 <mailto:langcsaba at gmail.com>> a écrit :
> 
>     Perfect, thanks a lot!
> 
>     On Thu, Apr 16, 2020 at 4:41 PM rep <pierre at 314r.net <mailto: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 <mailto:Pd-list at lists.iem.at> mailing list
>     UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
> 





More information about the Pd-list mailing list