From ccddec68116fc6403858ebfa13d4a7b1aa3d5278 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sun, 18 Oct 2009 20:01:19 +0000 Subject: hi gridflow 0.9.5 svn path=/trunk/; revision=12611 --- .../gridflow/doc/flow_classes/#scale_to-help.pd | 78 ++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 externals/gridflow/doc/flow_classes/#scale_to-help.pd (limited to 'externals/gridflow/doc/flow_classes/#scale_to-help.pd') diff --git a/externals/gridflow/doc/flow_classes/#scale_to-help.pd b/externals/gridflow/doc/flow_classes/#scale_to-help.pd new file mode 100644 index 00000000..34038065 --- /dev/null +++ b/externals/gridflow/doc/flow_classes/#scale_to-help.pd @@ -0,0 +1,78 @@ +#N canvas 122 0 504 602 10; +#X obj 90 170 cnv 15 135 17 empty empty empty 20 12 0 14 -241291 -66577 +0; +#X obj 1 394 cnv 15 500 17 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X obj 1 236 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X obj 1 259 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X text 215 399 Outlets (1); +#X obj 1 474 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X text 210 477 Arguments (1); +#X obj 1 329 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X obj 1 415 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X text 2 259 Inlet 0; +#X text 2 333 Inlet 1; +#X text 221 238 Inlets (2); +#X text 2 419 Outlet 0; +#X obj 1 1 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#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); +#X obj 89 133 #in; +#X obj 284 159 #pack; +#X obj 325 138 hsl 128 8 0 640 0 0 empty empty empty 0 -8 0 8 -260818 +-1 -1 0 1; +#X obj 325 148 hsl 128 8 0 640 0 0 empty empty empty 0 -8 0 8 -260818 +-1 -1 0 1; +#X obj 9 1 #scale_to; +#X obj 89 208 #out window \, title #scale_to; +#X text 210 477 Arguments (1); +#X obj 2 543 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X text 217 546 See Also; +#X obj 80 570 #downscale_by; +#X msg 89 73 open scissors.jpg \, bang; +#X obj 300 183 #print; +#X msg 284 75 2 # 500 500; +#X obj 412 97 #print; +#X text 7 283 GRID; +#X msg 284 94 2 # 100 500; +#X msg 285 115 2 # 500 100; +#X text 460 133 height; +#X text 460 145 width; +#X text 62 357 A height width value pair in pixels.; +#X text 3 444 GRID; +#X text 64 444 Outputs the resulting scaled image.; +#X text 3 506 INT INT; +#X text 65 504 A (height width) pair of integers indicating the size +to scale to image to. This initial argument is required.; +#X text 62 284 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; +#X obj 7 570 #scale_by; +#X text 395 2 GridFlow 0.9.0; +#X text 9 22 The [#scale_to] scales the image received to the x and +y values passed. Initial creation arguments are mandatory (0 0) otherwise. +; +#X text 3 358 INT INT; +#X connect 14 0 15 0; +#X connect 15 0 17 0; +#X connect 16 0 22 0; +#X connect 17 0 16 0; +#X connect 18 0 16 1; +#X connect 18 0 28 0; +#X connect 19 0 18 0; +#X connect 20 0 18 1; +#X connect 27 0 17 0; +#X connect 29 0 16 1; +#X connect 29 0 30 0; +#X connect 32 0 16 1; +#X connect 32 0 30 0; +#X connect 33 0 16 1; +#X connect 33 0 30 0; -- cgit v1.2.1