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

Image Class Reference

Class representing the frame buffer, an image of size width x height pixels. More...

#include <image.h>

List of all members.

Public Member Functions

 Image ()
 Default constructor.
 Image (int width, int height)
 Creates an image buffer of the specified size.
 ~Image ()
 Destroys the object.
void load (const std::string &filename)
 Loads an image from a file.
void save (const std::string &filename) const
 Writes the image to a file.
void setPixel (int x, int y, const Color &c)
 Sets the pixel at (x,y) to color c.
void getPixel (int x, int y, Color &c) const
 Returns the pixel value at (x,y) in c.
int getWidth () const
 Returns the width in pixels.
int getHeight () const
 Returns the height in pixels.


Detailed Description

Class representing the frame buffer, an image of size width x height pixels.


The documentation for this class was generated from the following files:
Generated on Tue Mar 14 09:46:37 2006 for ASR by  doxygen 1.4.4