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

TrueColorImage Class Reference

A class for a RGB image. Was an attempt to rewrite the graphics engine, but should be scrapped. Any new code should use SDLmm-Surfaces. More...

#include <basegfx.h>

List of all members.

Public Member Functions

 TrueColorImage (int x, int y)
trgbpixel getpix (int x, int y)
trgbpixelgetpix (void)
void setpix (int x, int y, int r, int g, int b, int alpha=0)
void setpix (int x, int y, const trgbpixel &pix)
int getxsize (void)
int getysize (void)
 ~TrueColorImage ()


Detailed Description

A class for a RGB image. Was an attempt to rewrite the graphics engine, but should be scrapped. Any new code should use SDLmm-Surfaces.

Definition at line 357 of file basegfx.h.


Constructor & Destructor Documentation

TrueColorImage::TrueColorImage int  x,
int  y
 

Definition at line 782 of file basegfx.cpp.

TrueColorImage::~TrueColorImage  ) 
 

Definition at line 789 of file basegfx.cpp.


Member Function Documentation

trgbpixel* TrueColorImage::getpix void   ) 
 

trgbpixel TrueColorImage::getpix int  x,
int  y
 

Definition at line 823 of file basegfx.cpp.

Referenced by putimage(), and putimage_noalpha().

int TrueColorImage::getxsize void   ) 
 

Definition at line 829 of file basegfx.cpp.

int TrueColorImage::getysize void   ) 
 

Definition at line 834 of file basegfx.cpp.

void TrueColorImage::setpix int  x,
int  y,
const trgbpixel pix
 

Definition at line 817 of file basegfx.cpp.

void TrueColorImage::setpix int  x,
int  y,
int  r,
int  g,
int  b,
int  alpha = 0
 

Definition at line 808 of file basegfx.cpp.

References trgbpixel::channel.

Referenced by getimage(), smoothimage(), and zoomimage().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:21:52 2008 for Advanced Strategic Command by  doxygen 1.4.2