#include <plbmpinfo.h>
Inheritance diagram for PLBmpInfo:

Public Member Functions | |
| PLBmpInfo (const PLPoint &Size, const PLPoint &Resolution, const PLPixelFormat &pf) | |
| Creates an info object. | |
| PLBmpInfo () | |
| Creates an uninitialized info object. | |
| PLBmpInfo (const char *pszInfo) | |
| const PLPoint & | GetSize () const |
| int | GetWidth () const |
| int | GetHeight () const |
| unsigned | GetBitsPerPixel () const |
| bool | HasAlpha () const |
| bool | IsGreyscale () const |
| const PLPixelFormat & | GetPixelFormat () 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, const PLPoint &Resolution, const PLPixelFormat &pf) |
| void | SetBmpInfo (const PLBmpInfo &SrcInfo) |
Protected Attributes | |
| PLPoint | m_Size |
| PLPoint | m_Resolution |
| PLPixelFormat | m_pf |
Definition at line 21 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 69 of file plbmpinfo.h. |
1.3.2