[Gridflow-cvs] [svn] commit: r6167 - in /trunk: abstractions/#scale_to.pd doc/flow_classes/#scale_to-help.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Aug 16 19:53:04 EDT 2010


Author: matju
Date: Mon Aug 16 19:53:04 2010
New Revision: 6167

Log:
make arg optional

Modified:
    trunk/abstractions/#scale_to.pd
    trunk/doc/flow_classes/#scale_to-help.pd

Modified: trunk/abstractions/#scale_to.pd
==============================================================================
--- trunk/abstractions/#scale_to.pd (original)
+++ trunk/abstractions/#scale_to.pd Mon Aug 16 19:53:04 2010
@@ -10,8 +10,8 @@
 #X obj 28 64 #finished;
 #X obj 28 39 t a a;
 #X obj 140 20 inlet;
-#X obj 185 51 args size;
 #X obj 113 68 t a;
+#X obj 185 51 args (size a (0 0));
 #X connect 0 0 9 0;
 #X connect 2 0 3 0;
 #X connect 3 0 4 0;
@@ -23,7 +23,7 @@
 #X connect 9 0 8 0;
 #X connect 9 1 6 0;
 #X connect 9 1 5 1;
-#X connect 10 0 12 0;
-#X connect 11 0 12 0;
-#X connect 12 0 2 1;
-#X connect 12 0 4 1;
+#X connect 10 0 11 0;
+#X connect 11 0 2 1;
+#X connect 11 0 4 1;
+#X connect 12 0 11 0;

Modified: trunk/doc/flow_classes/#scale_to-help.pd
==============================================================================
--- trunk/doc/flow_classes/#scale_to-help.pd (original)
+++ trunk/doc/flow_classes/#scale_to-help.pd Mon Aug 16 19:53:04 2010
@@ -1,4 +1,4 @@
-#N canvas 674 0 632 523 10;
+#N canvas 648 0 632 528 10;
 #X obj 11 75 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1;
 #X obj 11 94 metro 100;
 #X obj 89 171 #scale_to (133 133);
@@ -19,8 +19,6 @@
 #X text 460 133 height;
 #X text 460 155 width;
 #X text 232 442 Outputs the resulting scaled image.;
-#X text 232 270 A (height width) pair of integers indicating the size
-to scale to image to. This initial argument is required.;
 #X text 232 345 The Grid passed at inlet 0 will be the image on which
 the scale_to will be performed.;
 #X text 284 58 2 grid size values y=500 x=500;
@@ -43,6 +41,8 @@
 #X obj 97 380 doc_m i1 (int int);
 #X obj 97 442 doc_m o0 grid;
 #X obj 0 494 doc_f;
+#X text 232 270 A (height width) pair of integers indicating the size
+to scale to image to. (default: (0 0)).;
 #X connect 0 0 1 0;
 #X connect 1 0 3 0;
 #X connect 2 0 7 0;
@@ -58,9 +58,9 @@
 #X connect 13 0 12 0;
 #X connect 14 0 2 1;
 #X connect 14 0 12 0;
-#X connect 26 1 21 0;
-#X connect 26 1 8 0;
+#X connect 25 1 20 0;
+#X connect 25 1 8 0;
+#X connect 31 1 37 0;
 #X connect 32 1 18 0;
-#X connect 33 1 19 0;
-#X connect 35 1 34 0;
-#X connect 36 1 17 0;
+#X connect 34 1 33 0;
+#X connect 35 1 17 0;



More information about the Gridflow-cvs mailing list