/usr/lib/pd/extra/Gem/polygon-help.pd is in gem 1:0.93.3-13.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | #N canvas 27 382 762 461 10;
#X text 475 39 Example:;
#X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 8 216 cnv 15 450 180 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 9 221 Inlets:;
#X obj 8 176 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 17 175 Arguments:;
#X text 452 8 GEM object;
#X text 27 233 Inlet 1: gemlist;
#X text 9 358 Outlets:;
#X text 21 371 Outlet 1: gemlist;
#X obj 469 58 cnv 15 200 270 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 528 354 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 0 450 300 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X obj 67 41 route create;
#X msg 67 70 set destroy;
#X msg 142 68 set create;
#X msg 198 112 destroy;
#X msg 132 112 create \, 1;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 7 0;
#X connect 3 1 5 0;
#X connect 3 1 6 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X restore 533 393 pd gemwin;
#X msg 533 374 create;
#X text 529 353 Create window:;
#X obj 474 85 cnv 15 190 200 empty empty empty 20 12 0 14 -85973 -66577
0;
#X obj 521 292 cnv 15 100 30 empty empty empty 20 12 0 14 -24198 -66577
0;
#X msg 479 136 draw line;
#X msg 479 91 draw fill;
#X msg 479 113 draw point;
#X obj 537 64 gemhead;
#X msg 605 194 0 \$1 0;
#X msg 585 92 1 1 0;
#X msg 593 112 1 -1 0;
#X floatatom 605 177 5 0 0 0 - - -;
#X msg 603 152 -2 1 0;
#X text 21 138 Each (additional) inlet will accept an X Y Z point which
is where the control point will be.;
#X text 26 309 Inlet 2: list: 3(XYZ) float values;
#X text 26 330 Inlet N: list: 3(XYZ) float values;
#X text 51 317 ...;
#X text 27 293 Inlet 1: message: width <float> : line-width;
#X msg 599 132 -1 -1 -3;
#X text 63 187 number of control-points of the curve (mandatory);
#X msg 479 156 draw linestrip;
#X msg 479 176 draw tri;
#X msg 479 198 draw tristrip;
#X msg 478 221 draw trifan;
#X msg 478 242 draw quad;
#X msg 478 264 draw quadstrip;
#X text 27 247 Inlet 1: message: draw [line|linestrip|fill|point|tri|tristrip|trifan|quad|quadstrip]
;
#X text 54 30 Class: geometric object;
#X text 33 14 Synopsis: [polygon];
#X text 7 69 Description: Renders a polygon.;
#X text 22 88 [polygon] creates a polygon graphics. The initial argument
is the number of points in the polygon. The maximum number of points
is unlimited.;
#X obj 537 299 polygon 5;
#X msg 603 246 width \$1;
#X floatatom 619 226 5 0 10 0 - - -;
#X connect 12 0 13 0;
#X connect 13 0 12 0;
#X connect 17 0 44 0;
#X connect 18 0 44 0;
#X connect 19 0 44 0;
#X connect 20 0 44 0;
#X connect 21 0 44 5;
#X connect 22 0 44 1;
#X connect 23 0 44 2;
#X connect 24 0 21 0;
#X connect 25 0 44 4;
#X connect 31 0 44 3;
#X connect 33 0 44 0;
#X connect 34 0 44 0;
#X connect 35 0 44 0;
#X connect 36 0 44 0;
#X connect 37 0 44 0;
#X connect 38 0 44 0;
#X connect 45 0 44 0;
#X connect 46 0 45 0;
|