How to Draw Text into the Editor View ?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/06/2011 at 11:49, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:    
    Platform:      
    Language(s) :

    ---------
    Hi,

    I couldn't find a way to draw Text into the EditorView using the BaseDraw, even not in C++.
    I thought about a way using a GeUserArea to Draw a Text, and then Draw the UserArea as a Bitmap to the View, but GeUserArea has not Method to obtain it's Bitmap.

    Thanks in advance,
    Niklas



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/06/2011 at 14:17, xxxxxxxx wrote:

    There is no built-in way to draw text into the EditorView (or a BaseDraw).  Most people solve this sad limitation by making their own font using lines or similar.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/06/2011 at 14:40, xxxxxxxx wrote:

    You can draw text into a bitmap with the GeClipMap class. Draw the bitmap then with DrawTexture() into the viewport. There are some threads on the forum covering this topic.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/06/2011 at 15:05, xxxxxxxx wrote:

    Awesome ! Does really come in Handy, this class. :-)

    Thank you, Matthias !



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/06/2011 at 16:49, xxxxxxxx wrote:

    Keep forgetting about that GeClipMap. Good to know! :)


Log in to reply