[Gridflow-cvs] [svn] commit: r4326 - in /trunk/doc: flow_classes/#draw_image-help.pd flow_classes/#draw_polygon-help.pd reference.xml

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sat Oct 24 10:28:47 EDT 2009


Author: pboivin
Date: Sat Oct 24 10:28:47 2009
New Revision: 4326

Log:
in the process of removing reference.xml ...

Modified:
    trunk/doc/flow_classes/#draw_image-help.pd
    trunk/doc/flow_classes/#draw_polygon-help.pd
    trunk/doc/reference.xml

Modified: trunk/doc/flow_classes/#draw_image-help.pd
==============================================================================
--- trunk/doc/flow_classes/#draw_image-help.pd (original)
+++ trunk/doc/flow_classes/#draw_image-help.pd Sat Oct 24 10:28:47 2009
@@ -1,63 +1,89 @@
-#N canvas 397 178 558 508 10;
-#X obj 60 147 #in;
-#X obj 23 181 #store;
-#X obj 23 46 tgl 15 0 empty empty empty 0 -6 0 8 -233017 -1 -1 0 1
+#N canvas 9 21 617 701 10;
+#X obj 172 147 #in;
+#X obj 135 181 #store;
+#X obj 135 46 tgl 15 0 empty empty empty 0 -6 0 8 -233017 -1 -1 0 1
 ;
-#X obj 23 74 metro 40;
-#X obj 23 257 #draw_image *>>8;
-#X obj 23 283 #out window \, title #draw_image-help;
-#X obj 60 99 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
+#X obj 135 74 metro 40;
+#X obj 135 283 #out window \, title #draw_image-help;
+#X obj 172 99 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
 -1;
-#X obj 76 209 #in;
-#X obj 76 169 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
+#X obj 188 209 #in;
+#X obj 188 169 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
 -1;
-#X text 82 101 2 <-- open background image;
-#X text 99 171 1 <-- open foreground image;
-#X obj 275 238 #dim;
-#X obj 275 257 #export_list;
-#X obj 275 276 unpack f f;
-#X obj 281 295 pack f f;
-#X obj 281 314 # / 2;
-#X obj 256 314 # -;
-#X obj 23 307 #mouse;
-#X text 47 48 3 <-- activate rendering;
-#X msg 76 190 load g001.jpg;
-#X msg 60 120 load r001.jpg;
-#X msg 163 257 0 0;
-#X obj 163 238 loadbang;
-#X text 23 331 Move mouse cursor to change layer position;
+#X text 194 101 2 <-- open background image;
+#X text 211 171 1 <-- open foreground image;
+#X obj 387 238 #dim;
+#X obj 387 257 #export_list;
+#X obj 387 276 unpack f f;
+#X obj 393 295 pack f f;
+#X obj 393 314 # / 2;
+#X obj 368 314 # -;
+#X obj 135 307 #mouse;
+#X text 159 48 3 <-- activate rendering;
+#X msg 188 190 load g001.jpg;
+#X msg 172 120 load r001.jpg;
+#X msg 275 257 0 0;
+#X obj 275 238 loadbang;
+#X text 135 331 Move mouse cursor to change layer position;
 #X obj 0 0 doc_h;
-#X obj 3 364 doc_c 0..2;
-#X obj 3 446 doc_i 3;
-#X obj 3 546 doc_o 1;
-#X obj 14 570 doc_oo 0;
-#X obj 14 470 doc_ii 0;
-#X obj 14 494 doc_ii 1;
-#X obj 14 518 doc_ii 2;
-#X obj 14 395 doc_cc 0;
-#X obj 14 421 doc_cc 1;
+#X obj 3 450 doc_i 3;
+#X obj 3 745 doc_o 1;
+#X obj 14 770 doc_oo 0;
+#X obj 14 474 doc_ii 0;
+#X obj 14 617 doc_ii 1;
+#X obj 14 647 doc_ii 2;
+#X text 105 397 NUMOP;
+#X text 165 397 Normally \, you would use the "put" operator \; but
+others (like + and ^) can be interesting for color effects.;
+#X obj 135 258 #draw_image *>>8;
+#X obj 3 367 doc_c 1;
+#X obj 14 398 doc_cc 0;
+#X text 105 473 GRID;
+#X text 165 473 Background image.;
+#X msg 321 197 tile;
+#X text 105 616 GRID;
+#X text 165 616 Foreground image.;
+#X text 105 645 LIST;
+#X text 105 496 MESSAGE;
+#X text 165 496 "tile flag";
+#X text 245 496 If 1 \, foreground image will be repeated to cover
+the background image.;
+#X text 105 527 MESSAGE;
+#X text 165 527 "alpha flag";
+#X text 245 527 If 1 \, foreground image (inlet 1) will be combined
+with background image (inlet 0) \, and then blended with background
+image according to transparency of foreground image \, and then inserted
+in the result. If 0 \, the blending doesn't occur \, as the transparency
+level is considered "opaque". Note that with alpha enabled \, the last
+channel of foreground image is cnsidered to represent transparency.
+;
+#X text 165 645 Initial foreground image position (y x) \, corresponding
+to top-left corner of foreground picture.;
+#X text 105 770 GRID;
+#X text 165 770 Resulting image.;
 #X connect 0 0 1 1;
-#X connect 1 0 4 0;
+#X connect 1 0 32 0;
 #X connect 2 0 3 0;
 #X connect 3 0 1 0;
-#X connect 4 0 5 0;
-#X connect 5 0 17 0;
-#X connect 6 0 20 0;
-#X connect 7 0 4 1;
-#X connect 7 0 11 0;
-#X connect 8 0 19 0;
+#X connect 4 0 16 0;
+#X connect 5 0 19 0;
+#X connect 6 0 10 0;
+#X connect 6 0 32 1;
+#X connect 7 0 18 0;
+#X connect 10 0 11 0;
 #X connect 11 0 12 0;
 #X connect 12 0 13 0;
+#X connect 12 1 13 1;
 #X connect 13 0 14 0;
-#X connect 13 1 14 1;
-#X connect 14 0 15 0;
-#X connect 15 0 16 1;
-#X connect 16 0 4 2;
-#X connect 17 0 16 0;
-#X connect 17 1 16 0;
-#X connect 17 2 16 0;
-#X connect 17 3 16 0;
-#X connect 19 0 7 0;
-#X connect 20 0 0 0;
-#X connect 21 0 4 2;
-#X connect 22 0 21 0;
+#X connect 14 0 15 1;
+#X connect 15 0 32 2;
+#X connect 16 0 15 0;
+#X connect 16 1 15 0;
+#X connect 16 2 15 0;
+#X connect 16 3 15 0;
+#X connect 18 0 6 0;
+#X connect 19 0 0 0;
+#X connect 20 0 32 2;
+#X connect 21 0 20 0;
+#X connect 32 0 4 0;
+#X connect 37 0 32 0;

Modified: trunk/doc/flow_classes/#draw_polygon-help.pd
==============================================================================
--- trunk/doc/flow_classes/#draw_polygon-help.pd (original)
+++ trunk/doc/flow_classes/#draw_polygon-help.pd Sat Oct 24 10:28:47 2009
@@ -1,4 +1,4 @@
-#N canvas 653 235 567 482 10;
+#N canvas 628 21 588 701 10;
 #X obj 20 349 #out window;
 #X obj 383 128 #color;
 #X obj 383 72 loadbang;
@@ -15,7 +15,6 @@
 #X text 403 306 last;
 #X text 403 320 odd;
 #X obj 385 338 listread none last odd;
-#X obj 20 237 #draw_polygon + 1;
 #X obj 20 37 tgl 15 0 empty empty empty 17 7 0 10 -24198 -1 -1 0 1
 ;
 #X obj 43 169 #checkers;
@@ -45,48 +44,65 @@
 #X obj 50 306 #fade (16 4 1);
 #X obj 0 0 doc_h;
 #X obj 3 389 doc_c 0..3;
-#X obj 3 498 doc_i 3;
-#X obj 3 600 doc_o 1;
-#X obj 14 624 doc_oo 0;
-#X obj 14 522 doc_ii 0;
-#X obj 14 546 doc_ii 1;
-#X obj 14 570 doc_ii 2;
+#X obj 3 506 doc_i 3;
+#X obj 3 608 doc_o 1;
+#X obj 14 632 doc_oo 0;
+#X obj 14 530 doc_ii 0;
+#X obj 14 554 doc_ii 1;
+#X obj 14 578 doc_ii 2;
 #X obj 14 412 doc_cc 0;
-#X obj 14 436 doc_cc 1;
-#X obj 14 460 doc_cc 2;
-#X connect 1 0 14 1;
-#X connect 2 0 32 0;
-#X connect 3 0 21 1;
-#X connect 4 0 36 0;
-#X connect 5 0 28 0;
-#X connect 7 0 14 0;
+#X obj 14 441 doc_cc 1;
+#X obj 14 470 doc_cc 2;
+#X text 106 410 NUMOP;
+#X text 106 439 GRID;
+#X text 106 469 GRID;
+#X obj 20 237 #draw_polygon ^ 1;
+#X text 166 410 Normally \, you would use the "put" operator \; but
+the + and ^ can be interesting for color effects.;
+#X text 106 530 GRID;
+#X text 106 552 GRID;
+#X text 106 576 GRID;
+#X text 166 530 Picture on which the polygon will be superimposed.
+;
+#X text 166 552 Color. (see argument 1);
+#X text 166 576 Verticles. (see argument 2);
+#X text 106 631 GRID;
+#X text 166 469 Verticles of the polygon.;
+#X text 166 439 Color of the polygon.;
+#X text 166 631 Resulting picture.;
+#X connect 1 0 52 1;
+#X connect 2 0 31 0;
+#X connect 3 0 20 1;
+#X connect 4 0 35 0;
+#X connect 5 0 27 0;
+#X connect 7 0 52 0;
 #X connect 8 0 13 0;
-#X connect 10 0 14 0;
+#X connect 10 0 52 0;
 #X connect 13 0 10 0;
-#X connect 14 0 4 0;
-#X connect 15 0 27 0;
-#X connect 16 0 34 1;
-#X connect 17 0 16 0;
-#X connect 18 0 19 0;
-#X connect 18 0 20 0;
-#X connect 19 0 25 0;
-#X connect 20 0 31 0;
-#X connect 21 0 26 0;
-#X connect 22 0 34 0;
-#X connect 22 1 21 0;
-#X connect 22 2 18 0;
-#X connect 23 0 1 0;
-#X connect 24 0 33 0;
-#X connect 25 0 18 1;
-#X connect 26 0 14 2;
-#X connect 27 0 22 0;
-#X connect 28 0 7 0;
-#X connect 31 0 3 0;
-#X connect 32 0 1 0;
-#X connect 33 0 34 1;
-#X connect 34 0 14 0;
-#X connect 35 0 17 0;
-#X connect 36 0 0 0;
-#X connect 36 1 38 0;
-#X connect 37 0 36 1;
-#X connect 38 0 0 0;
+#X connect 14 0 26 0;
+#X connect 15 0 33 1;
+#X connect 16 0 15 0;
+#X connect 17 0 18 0;
+#X connect 17 0 19 0;
+#X connect 18 0 24 0;
+#X connect 19 0 30 0;
+#X connect 20 0 25 0;
+#X connect 21 0 33 0;
+#X connect 21 1 20 0;
+#X connect 21 2 17 0;
+#X connect 22 0 1 0;
+#X connect 23 0 32 0;
+#X connect 24 0 17 1;
+#X connect 25 0 52 2;
+#X connect 26 0 21 0;
+#X connect 27 0 7 0;
+#X connect 30 0 3 0;
+#X connect 31 0 1 0;
+#X connect 32 0 33 1;
+#X connect 33 0 52 0;
+#X connect 34 0 16 0;
+#X connect 35 0 0 0;
+#X connect 35 1 37 0;
+#X connect 36 0 35 1;
+#X connect 37 0 0 0;
+#X connect 52 0 4 0;

Modified: trunk/doc/reference.xml
==============================================================================
--- trunk/doc/reference.xml (original)
+++ trunk/doc/reference.xml Sat Oct 24 10:28:47 2009
@@ -863,87 +863,6 @@
 		</outlet>
 	</class>
 
-	<class name="#draw_image">
-		<method name="init">
-			<arg name="operator" type="numop2">
-				Normally you would use the "put" operator here;
-				but abnormally I recommend + and ^ for psychedelic effects.
-			</arg>
-			<arg name="picture" type="grid(y,x,channels)"/>
-			<arg name="position" type="grid({y x})"/>
-		</method>
-		<inlet id="0">
-			<method name="grid"><arg name="grid" type="grid(y x channels)"/>
-				picture onto which another picture will be superimposed.
-			</method>
-			<method name="tile"><arg name="flag" type="0 or 1"/>
-				if enabled, inlet 1 picture will be repeated to cover the inlet 0 picture.
-			</method>
-			<method name="alpha"><arg name="flag" type="0 or 1"/>
-				if enabled, inlet 1 picture will be combined with inlet 0 picture using
-				the selected operator,
-				and then blended with inlet 0 picture according to transparency of
-				the inlet 1 picture, and then inserted in the result.
-				if disabled, the blending doesn't occur, as the transparency level
-				is considered to be "opaque". note that with alpha enabled,
-				the last channel of inlet 1 picture is considered to represent transparency.
-			</method>
-		</inlet>
-		<inlet id="1">
-			<method name="grid"><arg name="grid" type="grid(y x channels)"/>
-				picture that will be superimposed onto another picture.
-			</method>
-		</inlet>
-		<inlet id="2">
-			<method name="grid"><arg name="grid" type="grid({y x})"/>
-				position of the inlet 0 picture corresponding to top-left corner
-				of inlet 1 picture.
-			</method>
-		</inlet>
-		<outlet id="0">
-			<method name="grid"><arg name="grid" type="grid(y x channels)"/>
-				resulting picture.
-			</method>
-		</outlet>
-	</class>
-
-	<class name="#draw_polygon">
-		<method name="init">
-			<arg name="operator" type="numop2">
-				Normally you would use the "put" operator here;
-				but abnormally I recommend + and ^ for psychedelic effects.
-			</arg>
-			<arg name="color" type="grid(channels)"/>
-			<arg name="vertices" type="grid(vertices,{y x})"/>
-		</method>
-		<inlet id="0">
-			<method name="grid"><arg name="grid" type="grid(y x channels)"/>
-				picture on which the polygon will be superimposed.
-			</method>
-		</inlet>
-		<inlet id="1">
-			<method name="grid"><arg name="grid" type="grid(channels)"/>
-				color of each pixel
-			</method>
-		</inlet>
-		<inlet id="2">
-			<method name="grid"><arg name="grid" type="grid(vertices {y x})"/>
-				vertices of the polygon.
-			</method>
-		</inlet>
-		<outlet id="0">
-			<method name="grid">
-				<arg name="grid" type="grid(y x channels)"/>
-				modified picture.
-				note: starting with 0.7.2, drawing a 1-by-1
-				square really generates a 1-by-1 square, and
-				so on. This is because the right-hand border of a
-				polygon is excluded, whereas it was included
-				before, leading to slightly-wider-than-expected polygons.
-			</method>
-		</outlet>
-	</class>
-
 	<class name="#text_to_image">
 		<p>inlet 2 receives a font grid, for example, [#in grid file lucida-typewriter-12.grid.gz]</p>
 		<p>inlet 1 receives a 2 by 3 matrix representing the colours to use (e.g. (2 3 # 0 170 0 255 255 0) means yellow on green)</p>



More information about the Gridflow-cvs mailing list