Invalidating the selection

As the command iterates over the selection changing the canvas graphics, it should keep track of the area of the canvas that encloses all of the changed canvas graphics. This area is an instance of TGArea that is passed to the MCanvasSelection::Invalidate function when the command completes. The Invalidate function invalidates the canvas graphics that were changed to notify the application when a command changes any or all of the selection contents.

    virtual void Invalidate( const TGArea& ) = 0;

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker