Neo  0.5.0
Developer Documentation
Neo::Image Class Reference

#include <Image.h>

Public Member Functions

 Image (void)
 
 ~Image (void)
 
void create (VAR_TYPES dataType, unsigned int width, unsigned int height, unsigned int components)
 
void clear (void *color)
 
void readPixel (unsigned int x, unsigned int y, void *color)
 
void writePixel (unsigned int x, unsigned int y, void *color)
 
void * getData (void)
 
VAR_TYPES getDataType (void)
 
unsigned int getComponents (void)
 
unsigned int getWidth (void)
 
unsigned int getHeight (void)
 
unsigned int getSize (void)
 

Constructor & Destructor Documentation

Neo::Image::Image ( void  )
Neo::Image::~Image ( void  )

Member Function Documentation

void Neo::Image::clear ( void *  color)
void Neo::Image::create ( VAR_TYPES  dataType,
unsigned int  width,
unsigned int  height,
unsigned int  components 
)
unsigned int Neo::Image::getComponents ( void  )
inline
void* Neo::Image::getData ( void  )
inline
VAR_TYPES Neo::Image::getDataType ( void  )
inline
unsigned int Neo::Image::getHeight ( void  )
inline
unsigned int Neo::Image::getSize ( void  )
inline
unsigned int Neo::Image::getWidth ( void  )
inline
void Neo::Image::readPixel ( unsigned int  x,
unsigned int  y,
void *  color 
)
void Neo::Image::writePixel ( unsigned int  x,
unsigned int  y,
void *  color 
)

The documentation for this class was generated from the following file: