#N canvas 948 87 655 703 10;
#X declare -lib Gem;
#X text 54 30 Class: geometric object;
#X obj 465 65 cnv 15 170 420 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X obj 465 490 cnv 15 100 60 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X obj 7 65 cnv 15 450 220 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 8 335 cnv 15 450 200 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 9 340 Inlets:;
#X obj 8 295 cnv 15 450 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 294 Arguments:;
#X text 462 10 GEM object;
#X text 27 352 Inlet 1: gemlist;
#X text 9 480 Outlets:;
#X text 21 493 Outlet 1: gemlist;
#X text 471 47 Example:;
#X obj 468 172 cnv 15 160 250 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X obj 479 68 gemhead;
#X floatatom 516 377 5 0 100 1 size - - 0;
#X msg 489 216 font \$1;
#X obj 489 197 openpanel;
#X msg 497 238 text hello world!;
#X msg 501 259 1 2 3 4;
#X msg 505 328 alias \$1;
#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 506 354 justify left base;
#X floatatom 583 72 5 -10 10 0 - \$0-Y - 0;
#X floatatom 542 67 3 -3.5 3.5 0 - \$0-X - 0;
#X text 27 366 Inlet 1: message: font <.TTF-file> : load a TrueType-font;
#X text 27 380 Inlet 1: message: text [<blah>] : render the given text;
#X text 27 395 Inlet 1: message: list [<blah>] : render the given text, f 59;
#X text 27 410 Inlet 1: message: alias 1|0 : anti-aliasing on/off (default:1), f 66;
#X obj 30 565 cnv 15 400 40 empty empty empty 20 12 0 14 #fce0c0 #404040 0;
#X text 43 569 Note: on some systems it might be necessary to turn rendering ON before loading a font.;
#X text 33 14 Synopsis: [text2d];
#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 on the command-line and load fonts with just "font times.ttf".;
#X obj 538 560 text3d;
#X text 468 559 see also:;
#X obj 538 583 textextruded;
#X obj 538 606 textoutline;
#X obj 30 621 cnv 15 400 40 empty empty empty 20 12 0 14 #fc8000 #404040 0;
#X text 43 625 Note2: The text will disappear completely once the pivot point of the text moves out of the window;
#X obj 459 621 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1;
#N canvas 822 665 450 369 disappearing 0;
#X obj 43 27 inlet;
#X obj 43 306 s \$0-X;
#X obj 43 92 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1;
#X obj 43 116 pack 0 1000;
#X obj 43 238 line;
#X obj 43 70 metro 1000;
#X obj 43 138 t f f;
#X obj 43 208 pack 0 1000;
#X obj 43 160 * 1;
#X obj 43 183 - 4.2;
#X obj 43 49 t f f;
#X obj 127 70 select 0;
#X msg 127 92 0;
#X obj 87 27 tgl 18 0 empty empty empty 0 -9 0 10 #fcfcfc #000000 #000000 0 1;
#X floatatom 192 142 5 0 0 0 - - - 0;
#X obj 43 261 pack 0 0;
#X obj 43 284 unpack;
#X obj 93 306 s \$0-Y;
#X connect 0 0 10 0;
#X connect 2 0 3 0;
#X connect 3 0 6 0;
#X connect 4 0 15 0;
#X connect 5 0 2 0;
#X connect 6 0 8 0;
#X connect 7 0 4 0;
#X connect 8 0 9 0;
#X connect 9 0 7 0;
#X connect 10 0 5 0;
#X connect 10 1 11 0;
#X connect 11 0 12 0;
#X connect 12 0 7 0;
#X connect 13 0 5 0;
#X connect 14 0 8 0;
#X connect 15 0 16 0;
#X connect 16 0 1 0;
#X connect 16 1 17 0;
#X restore 459 641 pd disappearing text;
#X text 27 454 Inlet 2: float: size (in points) default:20, f 56;
#X text 27 425 Inlet 1: message: justify <hor> [<vert>]: horizontal&vertical justification;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION Renders a line of text;
#X text 10 65 KEYWORDS Gem openGL shape;
#X text 20 85 INLET_0 gemlist font text list alias justify;
#X text 20 105 INLET_1 float;
#X text 20 125 OUTLET_0 gemlist;
#X text 10 145 AUTHOR IOhannes m zmölnig;
#X text 10 165 LICENSE GPL v2;
#X restore 528 8 pd META;
#X text 10 94 [text2d] renders a text with the current color \, but without(!) 3D-transformation (like [rotate] or [scale]).;
#X obj 479 89 translateXYZ;
#X obj 479 398 text2d;
#X obj 565 328 tgl 18 0 empty empty empty 0 -9 0 10 #fcfcfc #000000 #000000 0 1;
#X obj 489 176 bng 18 250 50 0 empty empty empty 0 -9 0 10 #fcfcfc #000000 #000000;
#X msg 501 282 text ніколи;
#X msg 501 304 string 960 940 957 964 945;
#X obj 470 111 cnv 15 160 50 empty empty empty 20 12 0 14 #c7c6ff #404040 0;
#X obj 479 115 rotateXYZ;
#X obj 479 138 scaleXYZ;
#X floatatom 574 138 5 0 0 0 - - - 0;
#X obj 540 138 / 10;
#X floatatom 545 115 5 0 0 0 - - - 0;
#X floatatom 581 116 5 0 0 0 - - - 0;
#X obj 472 493 _gemwin;
#X text 19 509 Outlet 2: information about the text;
#N canvas 15 180 585 372 more_informations 0;
#X text 33 24 for now the outlet 2 outputs for each frame :;
#X text 45 47 - ascender : size over the pivot point (pixels);
#X text 45 66 - descender : size under the pivot point (pixels);
#X text 45 85 - bbox : bounding box of the text;
#X text 59 103 (x1 \, y1 \, z1 \, x2 \, y2 \, z2);
#X text 41 126 - bboxline : line number + bounding box of this specific line, f 62;
#X restore 260 508 pd more_informations;
#X obj 479 428 color 1 0 0;
#X obj 479 449 _textbbox \; width 2;
#X obj 559 452 - 1;
#X obj 559 429 tgl 18 0 empty empty empty 0 -9 0 10 #fcfcfc #000000 #000000 0 1;
#X connect 14 0 49 0;
#X connect 15 0 50 1;
#X connect 16 0 50 0;
#X connect 17 0 16 0;
#X connect 18 0 50 0;
#X connect 19 0 50 0;
#X connect 19 0 53 0;
#X connect 20 0 50 0;
#X connect 26 0 50 0;
#X connect 27 0 49 3;
#X connect 28 0 49 1;
#X connect 43 0 44 0;
#X connect 49 0 56 0;
#X connect 50 0 65 0;
#X connect 50 1 66 1;
#X connect 51 0 20 0;
#X connect 52 0 17 0;
#X connect 53 0 50 0;
#X connect 54 0 50 0;
#X connect 56 0 57 0;
#X connect 57 0 50 0;
#X connect 58 0 59 0;
#X connect 59 0 57 1;
#X connect 60 0 56 2;
#X connect 65 0 66 0;
#X connect 67 0 66 2;
#X connect 68 0 67 0;
