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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Sanket Bhukan
purr-data
Commits
bde9f434
Commit
bde9f434
authored
8 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Patches
Plain Diff
update draw-help.pd to reflect changes to the interface
parent
6c7809ec
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
pd/doc/5.reference/draw-help.pd
+47
-50
47 additions, 50 deletions
pd/doc/5.reference/draw-help.pd
with
47 additions
and
50 deletions
pd/doc/5.reference/draw-help.pd
+
47
−
50
View file @
bde9f434
#N struct draw-help-struct float x float y;
#N struct draw-help-struct float x float y;
#N canvas
-7 0
555 619 10;
#N canvas
270 52
555 619 10;
#X obj 0 595 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0
#X obj 0 595 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0
14 -228856 -66577 0;
14 -228856 -66577 0;
#X obj 0 0 cnv 15 552 40 empty \$0-pddp.cnv.header draw 3 12 0 18 -204280
#X obj 0 0 cnv 15 552 40 empty \$0-pddp.cnv.header draw 3 12 0 18 -204280
...
@@ -42,28 +42,34 @@ rx ry;
...
@@ -42,28 +42,34 @@ rx ry;
;
;
#X text 11 20 draw an svg shape to represent a scalar;
#X text 11 20 draw an svg shape to represent a scalar;
#X obj 492 12 draw;
#X obj 492 12 draw;
#X obj 116 181 draw circle 0 0 40 40;
#X text 101 554 float;
#X text 101 554 float;
#X text 171 525 - [draw] accepts a list of coordinates and/or shape
#X text 171 525 - [draw] accepts a list of coordinates and/or shape
data used to specify where and how to draw the object;
data used to specify where and how to draw the object;
#X scalar draw-help-struct
1
22 277 \;;
#X scalar draw-help-struct
3
22 277 \;;
#X obj 117 64 struct draw-help-struct float x float y;
#X obj 117 64 struct draw-help-struct float x float y;
#X msg 116 96 fill red;
#X msg 128 201 stroke-width \$1;
#X msg 208 122 stroke-width \$1;
#X floatatom 128 177 5 0 0 0 - - -, f 5;
#X floatatom 208 98 5 0 0 0 - - -, f 5;
#X floatatom 128 238 5 0 0 0 - - -, f 5;
#X floatatom 338 98 5 0 0 0 - - -, f 5;
#X msg 128 262 transform skewx \$1;
#X msg 338 149 transform skewx \$1;
#X obj 338 119 * 0.01;
#X msg 130 121 fill blue;
#X text 98 346 float;
#X text 98 346 float;
#X obj 339 275 draw rect 100 -40 80 80;
#X text 168 347 - any nonzero number will display the drawing to represent
#N canvas 323 38 587 553 all_messages 0;
the corresponding scalar. SSending a "0" will hide it.;
#X text 98 386 [draw] also takes a number of messages. These are svg
attributes that define how the object is drawn. See the subpatch above
for a full list.;
#X text 81 490 1) symbol;
#X text 81 525 n) symbol;
#X text 107 539 or;
#X text 171 490 - name of an svg shape. Can be circle \, ellipse \,
line \, path \, polygon \, polyline \, rectangle \, or group.;
#X obj 80 293 draw circle 40 40;
#X obj 299 158 draw rect 80 80 100 -40;
#X msg 80 112 fill red \, stroke blue;
#N canvas 326 113 587 553 more_messages 0;
#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
#X obj 1 1 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -204280 -1 0;
14 -204280 -1 0;
#X text 7 1 [draw] Attributes;
#X text 7 1 [draw] Attributes;
#X msg 25 55 fill red;
#X msg 25 55 fill red;
#X text 132 55 fill color. 1 symbol \, 3 floats (rgb) \, or 4 floats
(rgba);
#X text 132 103 opacity for fill color. float in range 0-1;
#X text 132 103 opacity for fill color. float in range 0-1;
#X floatatom 32 78 5 0 0 0 - - -, f 5;
#X floatatom 32 78 5 0 0 0 - - -, f 5;
#X text 72 79 (shift-click for more precision);
#X text 72 79 (shift-click for more precision);
...
@@ -100,40 +106,31 @@ data used to specify where and how to draw the object;
...
@@ -100,40 +106,31 @@ data used to specify where and how to draw the object;
#X obj 25 516 outlet;
#X obj 25 516 outlet;
#X msg 93 489 transform translate 150 0 scale \$1 translate -150 0
#X msg 93 489 transform translate 150 0 scale \$1 translate -150 0
;
;
#X connect 2 0 33 0;
#X text 92 55 fill color. 1 symbol or 3 floats (rgb);
#X connect 5 0 7 0;
#X connect 2 0 32 0;
#X connect 7 0 33 0;
#X connect 4 0 6 0;
#X connect 6 0 32 0;
#X connect 8 0 10 0;
#X connect 9 0 11 0;
#X connect 9 0 11 0;
#X connect 10 0 12 0;
#X connect 10 0 32 0;
#X connect 11 0 33 0;
#X connect 11 0 32 0;
#X connect 12 0 33 0;
#X connect 16 0 32 0;
#X connect 17 0 33 0;
#X connect 22 0 32 0;
#X connect 23 0 33 0;
#X connect 23 0 32 0;
#X connect 24 0 33 0;
#X connect 24 0 32 0;
#X connect 25 0 33 0;
#X connect 26 0 32 0;
#X connect 27 0 33 0;
#X connect 27 0 28 0;
#X connect 28 0 29 0;
#X connect 28 0 33 0;
#X connect 29 0 34 0;
#X connect 29 0 32 0;
#X connect 30 0 33 0;
#X connect 30 0 32 0;
#X connect 31 0 33 0;
#X connect 31 0 32 0;
#X connect 32 0 33 0;
#X connect 33 0 32 0;
#X connect 34 0 33 0;
#X restore 299 112 pd more_messages;
#X restore 339 229 pd all_messages;
#X msg 89 137 fill blue \, stroke black;
#X text 168 347 - any nonzero number will display the drawing to represent
#X connect 19 0 30 0;
the corresponding scalar. SSending a "0" will hide it.;
#X connect 20 0 19 0;
#X text 98 386 [draw] also takes a number of messages. These are svg
#X connect 21 0 22 0;
attributes that define how the object is drawn. See the subpatch above
#X connect 22 0 30 0;
for a full list.;
#X connect 32 0 30 0;
#X text 81 490 1) symbol;
#X connect 33 0 31 0;
#X text 81 525 n) symbol;
#X connect 34 0 30 0;
#X text 107 539 or;
#X text 171 490 - name of an svg shape. Can be circle \, ellipse \,
line \, path \, polygon \, polyline \, rectangle \, or group.;
#X connect 20 0 15 0;
#X connect 21 0 15 0;
#X connect 22 0 21 0;
#X connect 23 0 25 0;
#X connect 24 0 15 0;
#X connect 25 0 24 0;
#X connect 26 0 15 0;
#X connect 29 0 28 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