OWLNext 7.0
Borland's Object Windows Library for the modern age
|
TBitmap has three functions that have protected access: a TBitmap::TBitmap constructor and two functions called TBitmap::Create.
The constructor is a default constructor. You can use it when constructing a derived class to prevent having to explicitly call the base class constructor. If you use the default constructor, you need to initialize the bitmap properly in your own constructor.
The first Create function takes a reference to a TBitmap object as a parameter. Essentially, this function copies the passed TBitmap object over to itself. The second Create function takes references to a TDib object and to a TPalette object. Create creates a device context compatible with the TPalette and renders the DIB into a device-compatible bitmap.