#include <ImageBase.h>
Inheritance diagram for ImageBase::

Public Methods | |
| unsigned int | get_width () |
| Returns the width of the image. | |
| unsigned int | get_height () |
| Returns the height of the image. | |
Protected Methods | |
| ImageBase (ImageBase &img) | |
| < Copy Constructor. | |
| ImageBase (unsigned int w, unsigned int h) | |
| Create an image with the given dimensions. | |
| ImageBase () | |
| Create an image with 0x0 dimension. | |
Protected Attributes | |
| unsigned int | width |
| Width of the image. | |
| unsigned int | height |
| Height of the image. | |
This abstract class is used for a base for the two classes ImageRGB and ImageGrey. It declares methods and members which are common to both of these specific classes and allows the classes to be treated the same.
Definition at line 38 of file ImageBase.h.
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001