aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/drawpolygon-help.pd
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2003-05-09 16:04:00 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2003-05-09 16:04:00 +0000
commit9c0e19a3be2288db79e2502e5fa450c3e20a668d (patch)
treeca97ce615e037a533304fc4660dcf372ca3b9cd6 /pd/doc/5.reference/drawpolygon-help.pd
parentef50dd62804d54af7da18d8bd8413c0dccd729b8 (diff)
This commit was generated by cvs2svn to compensate for changes in r610,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=611
Diffstat (limited to 'pd/doc/5.reference/drawpolygon-help.pd')
-rw-r--r--pd/doc/5.reference/drawpolygon-help.pd41
1 files changed, 41 insertions, 0 deletions
diff --git a/pd/doc/5.reference/drawpolygon-help.pd b/pd/doc/5.reference/drawpolygon-help.pd
new file mode 100644
index 00000000..fc422af4
--- /dev/null
+++ b/pd/doc/5.reference/drawpolygon-help.pd
@@ -0,0 +1,41 @@
+#N struct help-drawpolygon-template float x float y float cat float
+dog float weasel;
+#N canvas 411 8 565 187 12;
+#X text 13 130 see also:;
+#X obj 111 149 drawnumber;
+#X obj 207 149 plot;
+#X obj 21 10 drawpolygon;
+#X obj 21 33 drawcurve;
+#X obj 126 11 filledpolygon;
+#X obj 127 33 filledcurve;
+#X text 225 10 -- draw shapes for data structures;
+#N canvas 30 290 587 435 help-drawpolygon-template 1;
+#X obj 14 335 template float x float y float cat float dog float weasel
+;
+#X obj 19 24 drawpolygon 0 2 0 0 0 weasel;
+#X text 26 44 drawpolygon and drawcurve take arguments specifying:
+;
+#X text 29 137 Any of these can be numbers or field names \, like "weasel"
+here. The example above draws a vertical black line of height "weasel".
+;
+#X obj 19 194 filledpolygon 900 dog 3 10 0 20 cat 30 0;
+#X text 31 216 filledpolyconn and filledcurve take the same arguments
+\, except that a new first argument is added to specify interior color.
+Here the interior color is red (900) \, the outline color is controlled
+by the "dog" field \, and the three points describe a triangle of altitude
+"cat". The fields x and y automatically govern the placement of the
+object as a whole.;
+#X text 45 62 - RGB color (0=black \, 999=white \, 900=red \, 90=green
+\, 9=blue \, 555=grey \, etc.);
+#X text 46 95 - line width;
+#X text 46 116 - two or more (x \, y) pairs giving coordinates.;
+#X text 24 357 This object defines the fields for this template. You
+can see teh fields' values by right-clicking on the object in the "data"
+window and selecting "properties.";
+#X restore 274 93 pd help-drawpolygon-template;
+#X obj 34 149 template;
+#N canvas 10 18 384 178 help-drawpolygon-data 1;
+#X scalar help-drawpolygon-template 50 40 30 9 80 \;;
+#X scalar help-drawpolygon-template 150 40 -20 90 50 \;;
+#X restore 274 119 pd help-drawpolygon-data;
+#X text 312 168 updated for Pd version 0.35;