THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/12/2004 at 03:07, xxxxxxxx wrote:
Cinema 4D Version: 9
Platform: Windows ;
Language(s) : C++ ;
I want to create a customized tool for measuring the attributes of an object like ( Functions->Measure and Construction ). Can I create the label in the editor window like "Perspective" which is at the upper left corner of the editor window or anywhere I like. I've been trying this using BaseDraw,BaseView,GeClipMap and EditorWindow creating ToolData Plugin.
I can draw a rectangle on the editor window by using BaseDraw. But I cannot write out the text using GeClipMap.
I want to know how to write out the text to the editor window.
On 05/12/2004 at 04:15, xxxxxxxx wrote:
did you make sure you have called BeginDraw() before any drawing operation (also make sure to call EndDraw() afterward)?
If not do so.
Some code snippets would surely help identifying the problem.
On 05/12/2004 at 04:23, xxxxxxxx wrote:
Argh, sorry, GeClipMap is of course only for Bitmap manipulation (stupid me, but I just woke up an hour ago, so don´t blame me
I haven´t used the latest R9 for editor drawing operations, but I sort of heard that there are editor text drawing functions included, so this should work.
I assume they are in the BaseDraw class just as all the others. But also here no guarantee as I am not at home and cannot check.
On 06/12/2004 at 20:45, xxxxxxxx wrote:
Thank you for your reply. I solved this problem in a not-so-good way. Like you say, it is possible through the BaseDraw class.
With all my best wishes...