Hi
I want show some text in the screen, and I can use the displaymessage, but it can't change it size, and when I use displaytext, it can change it size,but it will show in the screen short time, I want it can show in the screen for long time? please give me some idea, thank you.
For show the text in the screen
Re: For show the text in the screen
Yep, the text you can display with 'displaymessage' is very standardized (you can only select a few places where the text appear and you can't change the size). Otherwise the displayText method is used to display text for a single frame (so you would have to call it at every frame).
Two options:
- we can modify the code of ''displaymessage'' slightly so that you can change the size
- you can create your own datatype that would only render a text in 2D (it's fairly easy) and add such an entity to the window 'own' DB
It all depends on your workflow and your exact needs.
Two options:
- we can modify the code of ''displaymessage'' slightly so that you can change the size
- you can create your own datatype that would only render a text in 2D (it's fairly easy) and add such an entity to the window 'own' DB
It all depends on your workflow and your exact needs.
Daniel, CloudCompare admin