#include <planybmp.h>
Inheritance diagram for PLAnyBmp:
Public Member Functions | |
PLAnyBmp () | |
Creates an empty bitmap. | |
virtual | ~PLAnyBmp () |
Destroys the bitmap. | |
PLAnyBmp (const PLBmp &Orig) | |
Copy constructor. | |
PLAnyBmp (const PLAnyBmp &Orig) | |
Copy constructor. | |
PLAnyBmp & | operator= (const PLBmp &Orig) |
Assignment operator. | |
PLAnyBmp & | operator= (const PLAnyBmp &Orig) |
Assignment operator. | |
long | GetMemUsed () |
Returns the amount of memory used by the object. | |
long | GetBytesPerLine () |
Returns number of bytes used per line. | |
PLBYTE * | GetPixels () |
Returns a raw pointer to the bitmap bits. | |
const PLBYTE * | GetPixels () const |
Returns a raw pointer to the bitmap bits. | |
Static Public Member Functions | |
long | GetMemNeeded (PLLONG width, PLLONG height, PLWORD BitsPerPixel) |
Returns memory needed by a bitmap with the specified attributes. | |
long | GetBitsMemNeeded (PLLONG width, PLLONG height, PLWORD BitsPerPixel) |
Returns memory needed by bitmap bits. | |
Protected Member Functions | |
virtual void | internalCreate (PLLONG Width, PLLONG Height, PLWORD BitsPerPixel, bool bAlphaChannel, bool bIsGreyscale) |
virtual void | freeMembers () |
Delete memory allocated by member variables. | |
virtual void | initLineArray () |
Initialize internal table of line addresses. | |
Protected Attributes | |
PLBYTE * | m_pBits |
Definition at line 22 of file planybmp.h.
|
Create a new bitmap with uninitialized bits. (Assume no memory is allocated yet.) Implements PLBmp. |