Main Page | Namespace List | Class Hierarchy | Class List | Class Members | Related Pages

ranab::img::BaseImage Class Reference

Inheritance diagram for ranab::img::BaseImage:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BaseImage (int width, int height)
int getHeight ()
int getWidth ()
abstract Graphics2D getGraphics ()
abstract void encode (OutputStream os) throws Exception
abstract String getMimeType ()

Protected Attributes

int miHeight
int miWidth

Detailed Description

This is the abstract base class of all the image classes. All the image classes have to extend this class.

Author:
Rana Bhattacharyya


Constructor & Destructor Documentation

ranab::img::BaseImage::BaseImage int  width,
int  height
[inline]
 

Constructor


Member Function Documentation

abstract void ranab::img::BaseImage::encode OutputStream  os  )  throws Exception [pure virtual]
 

Encode function

Implemented in ranab::img::gif::GifImage.

abstract Graphics2D ranab::img::BaseImage::getGraphics  )  [pure virtual]
 

Get graphics to draw

Implemented in ranab::img::gif::GifImage.

int ranab::img::BaseImage::getHeight  )  [inline]
 

get image height

abstract String ranab::img::BaseImage::getMimeType  )  [pure virtual]
 

Get mime type

Implemented in ranab::img::gif::GifImage.

int ranab::img::BaseImage::getWidth  )  [inline]
 

get image height


The documentation for this class was generated from the following file:
Generated on Wed Jan 19 17:03:05 2005 by  doxygen 1.3.9.1