THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/11/2004 at 02:36, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.207
Platform: Windows ;
Language(s) : C++ ;
---------
I want to make a Tool Plugin which will span a rectangle on mousedrag, like the cinema rectangle selection does.
It works fine to get the drag, position, and to draw the rectangle by DrawXORLine. But when the position changes, I have to draw a new rectangle, and the old rectangle with the old position should disappear. At the moment by dragging I get hundreds of rectangles...how can I clear all the things I drawed in an editor window?