Drawing

    virtual void Draw( TGrafPort& port ) const;
A cached graphic is drawn by calling the TCachedGraphic::Draw function (in the same way that all graphics are drawn). If the graphic is drawn into multiple views and a scale or rotation is involved, use multiple TCachedGraphics. When a TCachedGraphic instance graphic is drawn alternately into more than one view with differing scale factors or rotations, the caches are thrashed between the different calls to the TCachedGraphic::Draw function.


[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