aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/flow_classes/#scale_to-help.pd
blob: 34038065ca219dc01d366b0ad6ddc37fceabe8df (plain)
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
#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;