aboutsummaryrefslogtreecommitdiff
path: root/Gem/text3d-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'Gem/text3d-help.pd')
-rw-r--r--Gem/text3d-help.pd104
1 files changed, 104 insertions, 0 deletions
diff --git a/Gem/text3d-help.pd b/Gem/text3d-help.pd
new file mode 100644
index 0000000..adff690
--- /dev/null
+++ b/Gem/text3d-help.pd
@@ -0,0 +1,104 @@
+#N canvas 108 62 650 580 10;
+#X text 54 30 Class: geometric object;
+#X obj 465 65 cnv 15 170 270 empty empty empty 20 12 0 14 -228992 -66577
+0;
+#X obj 467 343 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
+0;
+#N canvas 0 22 450 300 gemwin 0;
+#X obj 132 136 gemwin;
+#X obj 67 89 outlet;
+#X obj 67 10 inlet;
+#X obj 67 41 route create;
+#X msg 67 70 set destroy;
+#X msg 142 68 set create;
+#X msg 198 112 destroy;
+#X msg 132 112 create \, 1;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 7 0;
+#X connect 3 1 5 0;
+#X connect 3 1 6 0;
+#X connect 4 0 1 0;
+#X connect 5 0 1 0;
+#X connect 6 0 0 0;
+#X connect 7 0 0 0;
+#X restore 472 382 pd gemwin;
+#X msg 472 363 create;
+#X text 468 342 Create window:;
+#X obj 7 65 cnv 15 450 220 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X obj 8 334 cnv 15 450 180 empty empty empty 20 12 0 14 -233017 -66577
+0;
+#X text 9 339 Inlets:;
+#X obj 8 295 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577
+0;
+#X text 17 294 Arguments:;
+#X text 303 4 GEM object;
+#X text 27 351 Inlet 1: gemlist;
+#X text 9 483 Outlets:;
+#X text 21 496 Outlet 1: gemlist;
+#X text 471 47 Example:;
+#X obj 468 112 cnv 15 150 220 empty empty empty 20 12 0 14 -24198 -66577
+0;
+#X obj 471 70 gemhead;
+#X floatatom 510 289 5 0 100 1 size - -;
+#X msg 481 154 font \$1;
+#X obj 481 135 openpanel;
+#X obj 481 118 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X msg 489 180 text hello world!;
+#X msg 493 199 1 2 3 4;
+#X text 7 69 Description: Renders a line of text;
+#X text 63 306 initial text (defaults to "gem");
+#X text 7 208 Justification:;
+#X text 32 223 horizontal justification can be one of "left" \, "right"
+\, "center"(default) and "base"(none);
+#X text 32 253 vertical justification can be one of "top" \, "bottom"
+\, "middle"(default) and "base"(none);
+#X msg 488 246 justify left base;
+#X floatatom 575 74 5 0 0 0 - - -;
+#X floatatom 534 69 4 0 0 0 - - -;
+#X text 27 365 Inlet 1: message: font <.TTF-file> : load a TrueType-font
+;
+#X text 27 379 Inlet 1: message: text [<blah>] : render the given text
+;
+#X text 27 392 Inlet 1: message: list [<blah>] : render the given text
+;
+#X text 27 435 Inlet 1: message: justify <hor> [<vert>] : horizontal&vertical
+justification;
+#X obj 471 91 rotateXYZ;
+#X obj 471 310 text3d;
+#X text 10 94 [text3d] renders one line of a text with the current
+color \, and all 3D-transformation;
+#X text 33 14 Synopsis: [text3d];
+#X text 27 464 Inlet 2: float: size (in points). default: 20;
+#X obj 30 531 cnv 15 400 40 empty empty empty 20 12 0 14 -261681 -66577
+0;
+#X text 43 535 Note: on some systems it might be necessary to turn
+rendering ON before loading a font.;
+#X msg 499 221 string 48 49 32 51 52;
+#X text 27 404 Inlet 1: message: string [<blah>] : render the given
+text \, given as a list of unicode code points (similar to ASCII);
+#X text 10 123 Any TrueType-font can be rendered. Per default a file
+"vera.ttf" is searched in the paths. If it is not found you will not
+see anything unless you load a valid font via the "font"-message. The
+font-loader uses Pd's search-paths \, so you could specify your path
+aon the command-line and load fonts with just "font times.ttf".;
+#X obj 541 419 text2d;
+#X text 470 417 see also:;
+#X obj 541 442 textextruded;
+#X obj 541 465 textoutline;
+#X connect 3 0 4 0;
+#X connect 4 0 3 0;
+#X connect 17 0 36 0;
+#X connect 18 0 37 1;
+#X connect 19 0 37 0;
+#X connect 20 0 19 0;
+#X connect 21 0 20 0;
+#X connect 22 0 37 0;
+#X connect 23 0 37 0;
+#X connect 29 0 37 0;
+#X connect 30 0 36 3;
+#X connect 31 0 36 1;
+#X connect 36 0 37 0;
+#X connect 43 0 37 0;