#include <plbmpinfo.h>
Inheritance diagram for PLBmpInfo:
Public Member Functions | |
PLBmpInfo (const PLPoint &Size, int bpp, const PLPoint &Resolution, bool bAlphaChannel, bool bIsGreyscale) | |
Creates an info object. | |
PLBmpInfo () | |
Creates an uninitialized info object. | |
PLBmpInfo (const char *pszInfo) | |
const PLPoint & | GetSize () const |
int | GetWidth () const |
int | GetHeight () const |
int | GetBitsPerPixel () const |
bool | HasAlpha () const |
bool | IsGreyscale () const |
const PLPoint & | GetResolution () const |
void | AsString (char *psz, int len) const |
bool | operator== (const PLBmpInfo &Other) const |
Protected Member Functions | |
void | SetBmpInfo (const PLPoint &Size, int bpp, const PLPoint &Resolution, bool bAlphaChannel, bool bIsGreyscale) |
void | SetBmpInfo (const PLBmpInfo &SrcInfo) |
Protected Attributes | |
PLPoint | m_Size |
int | m_bpp |
PLPoint | m_Resolution |
bool | m_bAlphaChannel |
bool | m_bIsGreyscale |
Definition at line 20 of file plbmpinfo.h.
|
Creates an info object from an ascii representation. This ascii representation can be created using AsString(); |
|
Gets the bitmap resolution in pixels per inch. Returns 0 if the resolution is unknown. Definition at line 66 of file plbmpinfo.h. |