Commit 7e1ea313 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

Document disappearance of [text2d] if pivot point is out-of-view

Closes: https://github.com/umlaeute/Gem/issues/116
parent 7dca322a
......@@ -41,7 +41,7 @@
#X obj 468 112 cnv 15 150 220 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 479 68 gemhead;
#X floatatom 516 287 5 0 100 1 size - -;
#X floatatom 516 287 5 0 100 1 size - -, f 5;
#X msg 489 152 font \$1;
#X obj 489 133 openpanel;
#X obj 489 116 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
......@@ -62,8 +62,8 @@
#X text 10 94 [text2d] renders one line of a text with the current
color \, but without(!) 3D-transformation;
#X obj 479 89 translateXYZ;
#X floatatom 583 72 5 -10 10 0 - - -;
#X floatatom 542 67 3 -3.5 3.5 0 - - -;
#X floatatom 583 72 5 -10 10 0 - - -, f 5;
#X floatatom 542 67 3 -3.5 3.5 0 - #0-X -, f 3;
#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
......@@ -89,6 +89,41 @@ on the command-line and load fonts with just "font times.ttf".;
#X text 468 419 see also:;
#X obj 538 443 textextruded;
#X obj 538 466 textoutline;
#X obj 30 591 cnv 15 400 40 empty empty empty 20 12 0 14 -260097 -66577
0;
#X text 43 595 Note2: The text will disappear completely once the pivot
point of the text moves out of the window;
#X obj 459 591 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#N canvas 69 240 450 369 disappearing 0;
#X obj 43 27 inlet;
#X obj 43 266 s \$0-X;
#X obj 43 92 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 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 connect 0 0 10 0;
#X connect 2 0 3 0;
#X connect 3 0 6 0;
#X connect 4 0 1 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 restore 459 611 pd disappearing text;
#X connect 3 0 4 0;
#X connect 4 0 3 0;
#X connect 17 0 33 0;
......@@ -104,3 +139,4 @@ on the command-line and load fonts with just "font times.ttf".;
#X connect 33 0 41 0;
#X connect 34 0 33 3;
#X connect 35 0 33 1;
#X connect 53 0 54 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment