[PD] Rectangle object does not understand [width 7( message

IOhannes m zmölnig zmoelnig at iem.at
Wed Sep 20 08:19:02 CEST 2023


On 9/19/23 23:33, Csaba Láng wrote:
> By the way, the same issue with the circle object. [width $1( is just
> ignored with the draw line message.

so i guess that when you wrote "does not understand the [width $1( 
message" you meant to say that it just ignores it (as opposed to "the 
object complains with an error message "rectangle: no method for 'width'"


the "width" property just wraps the 'glLineWidth' property which is 
somewhat dependent on the openGL implementation.

quoting from the standard 
(https://registry.khronos.org/OpenGL-Refpages/gl4/html/glLineWidth.xhtml):
 > Only width 1 is guaranteed to be supported; others depend on the 
implementation.

in practice i've never encountered a maximum width below 7, but probably 
things are slightly different with WSL.

you might try something like 
<https://stackoverflow.com/questions/3484260/>, but apparently this is 
rather complicated.


gmdsar
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20230920/98fa9892/attachment-0001.sig>


More information about the Pd-list mailing list