Revision: 10430 http://pure-data.svn.sourceforge.net/pure-data/?rev=10430&view=rev Author: eighthave Date: 2008-12-07 22:01:43 +0000 (Sun, 07 Dec 2008)
Log Message: ----------- updated gcanvas help patch to document some of the hidden features for drawing to the canvas
Modified Paths: -------------- trunk/externals/ggee/gui/gcanvas-help.pd
Modified: trunk/externals/ggee/gui/gcanvas-help.pd =================================================================== --- trunk/externals/ggee/gui/gcanvas-help.pd 2008-12-07 20:33:15 UTC (rev 10429) +++ trunk/externals/ggee/gui/gcanvas-help.pd 2008-12-07 22:01:43 UTC (rev 10430) @@ -1,9 +1,18 @@ -#N canvas 575 176 459 478 10; -#X obj 116 413 nbx 5 25 -1e+37 1e+37 0 0 empty empty X: -20 14 1 16 +#N canvas 292 26 524 527 10; +#X obj 34 472 nbx 5 25 -1e+37 1e+37 0 0 empty empty X: -20 14 1 16 +-241655 -1 -1 49 256; +#X obj 40 248 gcanvas 200 200; +#X obj 136 471 nbx 5 25 -1e+37 1e+37 0 0 empty empty Y: -20 14 1 16 -241655 -1 -1 26 256; +#X text 18 3 [gcanvas]; +#X text 69 505 mouse values; +#X text 41 24 click and drag in the grey [gcanvas] to get pixel values +; +#X obj 241 486 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X text 261 487 mouse clicked in box; +#N canvas 0 22 441 440 resize 0; #X obj 132 192 gcanvas 49 49; -#X obj 342 412 nbx 5 25 -1e+37 1e+37 0 0 empty empty Y: -20 14 1 16 --241655 -1 -1 23 256; #X msg 132 172 size 49 49; #X obj 37 193 vsl 20 200 200 5 0 0 empty empty Y 0 -8 1 11 -241655 -1 -1 15308 0; @@ -11,8 +20,6 @@ -1 -1 4592 0; #X obj 20 62 loadbang; #X msg 37 85 50; -#X text 18 3 [gcanvas]; -#X text 216 421 mouse values; #N canvas 526 29 466 316 guts 0; #X obj 141 36 inlet; #X obj 184 271 outlet; @@ -36,18 +43,46 @@ #X connect 9 0 3 0; #X connect 10 0 1 0; #X restore 132 118 pd guts; -#X text 41 24 click and drag in the grey [gcanvas] to get pixel values -; #X obj 246 274 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X text 266 275 mouse clicked in box; +#X connect 0 2 7 0; #X connect 1 0 0 0; +#X connect 2 0 6 0; +#X connect 3 0 6 1; +#X connect 4 0 5 0; +#X connect 5 0 3 0; +#X connect 5 0 2 0; +#X connect 6 0 1 0; +#X restore 331 343 pd resize; +#X floatatom 241 466 5 0 0 0 - - -; +#X msg 42 63 color grey 0; +#X msg 25 44 color red 0; +#X text 131 52 change color of an element; +#X msg 142 211 delete 1; +#X msg 53 84 line green 25 50 50 50; +#X text 202 84 draw a line with args: color x y width height; +#X msg 63 104 rect blue 125 150 9 50; +#X text 205 104 draw a rectangle with args: color x y width height +; +#X msg 76 132 move 2 50 50 50 50; +#X text 195 131 move an element with args: element# x y width height +; +#X text 211 211 delete an element from the canvas; +#X msg 79 210 reset; +#X msg 83 172 move 2 50 $1 50 50; +#X obj 86 153 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 +-1 -1 0 1; +#X connect 1 0 0 0; #X connect 1 1 2 0; -#X connect 1 2 12 0; -#X connect 3 0 1 0; -#X connect 4 0 10 0; -#X connect 5 0 10 1; -#X connect 6 0 7 0; -#X connect 7 0 5 0; -#X connect 7 0 4 0; -#X connect 10 0 3 0; +#X connect 1 2 9 0; +#X connect 9 0 6 0; +#X connect 10 0 1 0; +#X connect 11 0 1 0; +#X connect 13 0 1 0; +#X connect 14 0 1 0; +#X connect 16 0 1 0; +#X connect 18 0 1 0; +#X connect 21 0 1 0; +#X connect 22 0 1 0; +#X connect 23 0 22 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.