Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

fipGenericImage Class Reference

#include <FreeImagePlus.h>

Inheritance diagram for fipGenericImage:

fipImage fipWinImage List of all members.

Detailed Description

Abstract base class for all image types used by the library.

Version:
FreeImage 3.0
Author:
Hervé Drolon


Public Member Functions

Accessors
WORD getWidth ()
 Returns the image width in pixels.

WORD getHeight ()
 Returns the image height in pixels.

WORD getScanWidth ()
 Returns the width of the bitmap in bytes rounded to the nearest DWORD.

Information functions
virtual BOOL isValid ()=0
 Returns TRUE if the image is allocated, FALSE otherwise.


Protected Attributes

WORD m_Width
 Image width.

WORD m_Height
 Image height.

WORD m_ScanWidth
 Length of a line (in bytes) rounded to 32-bit.


Member Function Documentation

WORD fipGenericImage::getHeight  )  [inline]
 

Returns the image height in pixels.

WORD fipGenericImage::getScanWidth  )  [inline]
 

Returns the width of the bitmap in bytes rounded to the nearest DWORD.

WORD fipGenericImage::getWidth  )  [inline]
 

Returns the image width in pixels.

virtual BOOL fipGenericImage::isValid  )  [pure virtual]
 

Returns TRUE if the image is allocated, FALSE otherwise.

Implemented in fipImage.


Member Data Documentation

WORD fipGenericImage::m_Height [protected]
 

Image height.

WORD fipGenericImage::m_ScanWidth [protected]
 

Length of a line (in bytes) rounded to 32-bit.

WORD fipGenericImage::m_Width [protected]
 

Image width.


The documentation for this class was generated from the following file: