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 ( int  x,
int  y 
)

Definition at line 823 of file basegfx.cpp.

Referenced by putimage(), putimage_noalpha(), and smoothimage().

trgbpixel* TrueColorImage::getpix ( void   ) 

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(), and smoothimage().

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

Definition at line 817 of file basegfx.cpp.

int TrueColorImage::getxsize ( void   ) 

Definition at line 829 of file basegfx.cpp.

Referenced by getimage(), putimage(), putimage_noalpha(), and smoothimage().

int TrueColorImage::getysize ( void   ) 

Definition at line 834 of file basegfx.cpp.

Referenced by getimage(), putimage(), putimage_noalpha(), and smoothimage().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:47:56 2012 for Advanced Strategic Command by  doxygen 1.5.1