Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Wynn
purr-data
Commits
c18cd82f
Commit
c18cd82f
authored
8 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Patches
Plain Diff
add deprecation warning to help file
parent
111be67d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
externals/moonlib/image-help.pd
+59
-54
59 additions, 54 deletions
externals/moonlib/image-help.pd
with
59 additions
and
54 deletions
externals/moonlib/image-help.pd
+
59
−
54
View file @
c18cd82f
#N canvas
0 31
631 5
61
10;
#X obj 0
0
cnv 8 100 60 empty empty image 20 20 1 18 -262144 -1109
#N canvas
197 95
631 5
92
10;
#X obj 0
38
cnv 8 100 60 empty empty image 20 20 1 18 -262144 -1109
0;
#X text 14 5
1
0 (c) moonix: Antoine Rousseau 2004;
#X text 118
15
image viewer;
#X text 79
33
usage: image image_symbol [type];
#X text 97
48
if type=0 (or absent) \, image_symbol is a file.;
#X text 444
63
see "load" and "set";
#X text 98
63
if type=1 \, image_symbol means a pre-loaded image \;
#X text 14 5
5
0 (c) moonix: Antoine Rousseau 2004;
#X text 118
73
image viewer;
#X text 79
91
usage: image image_symbol [type];
#X text 97
106
if type=0 (or absent) \, image_symbol is a file.;
#X text 444
121
see "load" and "set";
#X text 98
121
if type=1 \, image_symbol means a pre-loaded image \;
;
#X text 248 5
1
0 \, but it's a hack of Gunter Geiger's image...;
#X obj 112 1
34
cnv 15 80 40 empty empty empty 20 12 0 14 -1 -66577
#X text 248 5
5
0 \, but it's a hack of Gunter Geiger's image...;
#X obj 112 1
92
cnv 15 80 40 empty empty empty 20 12 0 14 -1 -66577
0;
#X obj 122
148
image examples/play.gif ;
#X obj 348 2
16
cnv 15 20 20 empty empty empty 20 12 0 14 -1 -66577
#X obj 122
206
image examples/play.gif
0
;
#X obj 348 2
74
cnv 15 20 20 empty empty empty 20 12 0 14 -1 -66577
0;
#X obj 372
197
t a;
#X msg 424 1
05
open examples/play.gif;
#X msg 425 1
25
open examples/playy.gif;
#X msg 424
144
open examples/rec.gif;
#X msg 424
162
open examples/pause.gif;
#X msg 424
180
open examples/sinw.gif;
#X msg 425
198
open examples/squarew.gif;
#X msg 425 2
15
open examples/saww.gif;
#X obj 360 2
27
image examples/saww.gif ;
#X obj 136
148
image examples/rec.gif ;
#X obj 152
148
image examples/pause.gif ;
#X obj 185
144
image examples/sinw.gif ;
#X obj 185
156
image examples/squarew.gif ;
#X obj 185
168
image examples/saww.gif ;
#X obj 372
255
t a;
#X msg 424 1
63
open examples/play.gif;
#X msg 425 1
83
open examples/playy.gif;
#X msg 424
202
open examples/rec.gif;
#X msg 424
220
open examples/pause.gif;
#X msg 424
238
open examples/sinw.gif;
#X msg 425
256
open examples/squarew.gif;
#X msg 425 2
73
open examples/saww.gif;
#X obj 360 2
85
image examples/saww.gif
0
;
#X obj 136
206
image examples/rec.gif
0
;
#X obj 152
206
image examples/pause.gif
0
;
#X obj 185
202
image examples/sinw.gif
0
;
#X obj 185
214
image examples/squarew.gif
0
;
#X obj 185
226
image examples/saww.gif
0
;
#N canvas 183 192 77 40 (subpatch) 0;
#X obj 87 205 t a;
#X msg 127 127 open examples/sinw.gif;
...
...
@@ -35,7 +35,7 @@
#X msg 165 171 open examples/saww.gif;
#X obj -1 0 tgl 40 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1;
#X obj 0 1 cnv 15 40 40 empty empty empty 20 12 0 14 -1 -66577 0;
#X obj 26 20 image examples/sinw.gif ;
#X obj 26 20 image examples/sinw.gif
0
;
#X obj 127 84 i;
#X obj 153 85 + 1;
#X obj 179 85 mod 3;
...
...
@@ -54,41 +54,46 @@
#X connect 10 2 3 0;
#X connect 11 0 7 0;
#X coords 0 0 1 1 40 40 1;
#X restore 246 1
33
pd;
#X text 241 1
18
click !;
#X obj 65
348
t f f;
#X obj 65 4
10
pack s s;
#X msg 65 4
30
load \$1 \$2;
#X msg 295
397
set \$1;
#X obj 298 3
04
hsl 128 15 0 63 0 0 empty empty empty -2 -6 0 8 -262144
#X restore 246 1
91
pd;
#X text 241 1
76
click !;
#X obj 65
406
t f f;
#X obj 65 4
68
pack s s;
#X msg 65 4
88
load \$1 \$2;
#X msg 295
455
set \$1;
#X obj 298 3
62
hsl 128 15 0 63 0 0 empty empty empty -2 -6 0 8 -262144
-1 -1 0 1;
#X obj 295 326 i;
#X obj 202 446 image examples/rec.gif;
#X obj 295 349 change;
#X text 6 253 For animations \, it's beter to preload images:;
#X obj 402 377 loadbang;
#X msg 402 397 open examples/rec.gif;
#X text 95 274 1: load img_sym file;
#X text 291 287 2: set img_sym;
#X text 270 463 rem: when a img_symbol is loaded \, it;
#X text 305 475 can be used in any image object.;
#X text 17 94 ONLY GIF FILES ACCEPTED !! (because of Tk...);
#X msg 62 276 64;
#X obj 63 299 until;
#X obj 64 325 float;
#X obj 101 325 + 1;
#X obj 65 370 makefilename d%d;
#X obj 295 376 makefilename d%d;
#X obj 95 390 makefilename examples/d%d.gif;
#X obj 295 384 i;
#X obj 202 504 image /home/user/purr-data/externals/moonlib/examples/rec.gif
0;
#X obj 295 407 change;
#X text 6 311 For animations \, it's beter to preload images:;
#X obj 402 435 loadbang;
#X msg 402 455 open examples/rec.gif;
#X text 95 332 1: load img_sym file;
#X text 291 345 2: set img_sym;
#X text 270 521 rem: when a img_symbol is loaded \, it;
#X text 305 533 can be used in any image object.;
#X text 17 152 ONLY GIF FILES ACCEPTED !! (because of Tk...);
#X msg 62 334 64;
#X obj 63 357 until;
#X obj 64 383 float;
#X obj 101 383 + 1;
#X obj 65 428 makefilename d%d;
#X obj 295 434 makefilename d%d;
#X obj 95 448 makefilename examples/d%d.gif;
#N canvas 518 217 494 344 META 0;
#X text 12 25 LICENSE GPL v2;
#X text 12 85 AUTHOR Antoine Rousseau;
#X text 12 105 HELP_PATCH_AUTHORS Antoine Rousseau. "pd meta" information
added by Jonathan Wilkes for Pd version 0.42.;
#X text 12 65 INLET_0 load set open;
#X text 12 5 KEYWORDS control GUI;
#X text 12 45 DESCRIPTION image viewer;
#X restore 574 531 pd META;
#X text 12 5 KEYWORDS control GUI deprecated;
#X restore 574 551 pd META;
#X text 102 9 Important note: This object is DEPRECATED. The "load"
method leaks memory \, and the image is anchored in the center which
makes it at odds with the normal object positioning in Pd.;
#X text 101 54 For images see [draw image] and [draw sprite];
#X connect 11 0 19 0;
#X connect 12 0 11 0;
#X connect 13 0 11 0;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment