2017-08-31 03:14 PM
2018-10-04 12:05 PM
2017-08-31 03:20 PM
JGoode wrote:No.
Is it possible to define Pens in GDL?
REQUEST ("PEN_OF_RGB", colorInRGB, pen)
2017-08-31 03:26 PM
runxel wrote:Do you have any example script of this? ThanksJGoode wrote:No.
Is it possible to define Pens in GDL?
You can only request a similar pen to a RGB color:REQUEST ("PEN_OF_RGB", colorInRGB, pen)
2017-08-31 06:36 PM
rr = REQUEST("PEN_OF_RGB", "0 1 0.2", _greenishpen) !!! color range 0 to 1 // WTF GS? pen _greenishpen set line_type 1 line2 0,0,5,0Whoever did the 0 to 1 thing was clearly effing around.
2017-08-31 09:39 PM
2017-09-01 10:15 AM
Piotr wrote:I know Piotr, but the accuracy is not the point.
It is 0-1 in all MacOS at least in early versions😉
anyway it is more accurate BTW: 256 points vs _the_accuracy_You_need😉
Not that I like it...and in any script I use X/255 to get the GDL needed value while any soft would rather give 0..255.
Best Regards,
Piotr
2018-10-04 12:05 PM
2018-10-04 04:15 PM