MGraphic constructors

The MGraphic constructors are protected and summarized here for your convenience while reading this chapter. The MGraphic destructor is public and deletes the adopted TGrafBundle.

MGraphic(): Creates an instance of a graphics class with a NIL bundle. It is called when no attribute bundle is supplied to the MGraphic derived class constructor.

MGraphic( const MGraphic& source ): Completely copies the source graphic including a copy of the attribute bundle.

MGraphic( const TGrafBundle* adoptBundle ): Adopts the attribute bundle of the derived class.


[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