aboutsummaryrefslogtreecommitdiff
path: root/gemsFit-help.pd
blob: 008afd080fdbd49af4af694ed66651bb27495c69 (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
#N canvas 269 79 874 527 10;
#X declare -lib Gem;
#X text 21 10 Description: Wraps gems.fit with an additonal internal
scaleXYZ object.;
#X obj 88 136 gemhead;
#X obj 88 165 pix_image;
#X obj 88 396 pix_texture;
#X obj 26 87 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X msg 229 241 window;
#X obj 197 217 hradio 15 1 0 4 empty empty empty 0 -6 0 8 -262144 -1
-1 0;
#X msg 253 264 pixsize;
#X msg 259 285 pixratio;
#X floatatom 287 347 5 0 0 0 scale - -;
#X msg 274 318 fill;
#X text 191 180 You can change the fitting by sending the mode name
or the fittings's number.;
#X text 279 238 number 0;
#X text 312 265 number 1;
#X text 324 289 number 2;
#X text 311 321 number 3;
#X text 477 407 pixsize: reproduce the image \, pixel by pixel in the
gem win.;
#X text 476 453 fill: fills the whole gemwin;
#X floatatom 282 381 5 0 0 1 depth - -;
#X obj 88 419 square;
#X text 476 374 window or win: fit to the gem window while maintaining
the width to height ratio.;
#X obj 26 108 mtl/gemsWin;
#X obj 162 108 openpanel;
#X msg 162 133 open \$1;
#X obj 162 87 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 88 373 mtl/gemsFit window;
#X text 408 234 Argument 1: Selects how you want the fitting.;
#X text 408 256 Argument 2: The scale (defaults to 1).;
#X text 408 277 Argument 3: The depth (defaults to 1).;
#X text 408 339 Inlet 3: Determines the scaling.;
#X text 476 429 pixratio: normalized ration of the image's size.;
#X text 421 480 Inlet 4: depth;
#X text 408 323 Inlet 2: selects how you want the fitting.;
#X text 408 306 Inlet 1: gemlist.;
#X text 23 44 tags: gems;
#X obj 405 15 import Gem;
#X connect 1 0 2 0;
#X connect 2 0 25 0;
#X connect 3 0 19 0;
#X connect 4 0 21 0;
#X connect 5 0 25 1;
#X connect 6 0 25 1;
#X connect 7 0 25 1;
#X connect 8 0 25 1;
#X connect 9 0 25 2;
#X connect 10 0 25 1;
#X connect 18 0 25 3;
#X connect 22 0 23 0;
#X connect 23 0 2 0;
#X connect 24 0 22 0;
#X connect 25 0 3 0;