#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. | |
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) |
Create a new bitmap with uninitialized bits. | |
virtual void | freeMembers () |
Delete memory allocated by member variables. | |
virtual void | initLineArray () |
Initialize internal table of line addresses. | |
Protected Attributes | |
PLBYTE * | m_pBits |
Supported data formats are 8 and 32 bpp. The data is stored sequentially without padding in the bitmap. The class implements exactly the interface defined by PLBmp without additions.
Definition at line 22 of file planybmp.h.
|
Creates an empty bitmap.
Definition at line 25 of file planybmp.cpp. References PLASSERT_VALID. |
|
Destroys the bitmap.
Definition at line 35 of file planybmp.cpp. |
|
Copy constructor.
Definition at line 117 of file planybmp.h. |
|
Copy constructor.
Definition at line 109 of file planybmp.h. |
|
Delete memory allocated by member variables.
Implements PLBmp. Definition at line 152 of file planybmp.cpp. |
|
Returns memory needed by bitmap bits.
Definition at line 69 of file planybmp.cpp. |
|
Returns number of bytes used per line.
Implements PLBmp. Definition at line 54 of file planybmp.cpp. |
|
Returns memory needed by a bitmap with the specified attributes.
Definition at line 88 of file planybmp.cpp. |
|
Returns the amount of memory used by the object.
Implements PLBmp. Definition at line 43 of file planybmp.cpp. References PLASSERT_VALID. |
|
Initialize internal table of line addresses.
Implements PLBmp. Definition at line 141 of file planybmp.cpp. References PLBYTE. |
|
Create a new bitmap with uninitialized bits. (Assume no memory is allocated yet.) Implements PLBmp. Definition at line 109 of file planybmp.cpp. References PL_ERRDIB_TOO_LARGE, PLASSERT_VALID, PLBYTE, PLLONG, and PLWORD. |
|
Assignment operator.
Definition at line 133 of file planybmp.h. References PLBmp::operator=(). |
Here is the call graph for this function:
|
Assignment operator.
Reimplemented from PLBmp. Definition at line 125 of file planybmp.h. References PLBmp::operator=(). |
Here is the call graph for this function:
|
Definition at line 102 of file planybmp.h. |