class Sprite

Links a PixelMatrix to a mask (used to paint quickly with "mem_function cc")

Public Methods

Sprite(int jSize, int iSize) throw()
Sprite(const Sprite& sprite) throw()
virtual ~Sprite() throw()
PixelMatrix* getData() throw()
PixelMatrix* getMask() throw()
const PixelMatrix* getData() const throw()
const PixelMatrix* getMask() const throw()
int nbLine() const throw()
int nbColumn() const throw()
void set(int r, int g, int b, int j, int i) throw()
void setLuz(int j, int i) throw()
Translucent
void setWithoutShadow(int r, int g, int b, int j, int i) throw()
Never translucent, never shadow
void set(Pixel p, int j, int i) throw()
void noTakeLuz() throw()
To avoid shadow

Protected Fields

PixelMatrix* data
PixelMatrix* mask
Tji size

Documentation

Links a PixelMatrix to a mask (used to paint quickly with "mem_function cc")
PixelMatrix* data

PixelMatrix* mask

Tji size

Sprite(int jSize, int iSize) throw()

Sprite(const Sprite& sprite) throw()

virtual ~Sprite() throw()

PixelMatrix* getData() throw()

PixelMatrix* getMask() throw()

const PixelMatrix* getData() const throw()

const PixelMatrix* getMask() const throw()

int nbLine() const throw()

int nbColumn() const throw()

void set(int r, int g, int b, int j, int i) throw()

void setLuz(int j, int i) throw()
Translucent

void setWithoutShadow(int r, int g, int b, int j, int i) throw()
Never translucent, never shadow

void set(Pixel p, int j, int i) throw()

void noTakeLuz() throw()
To avoid shadow


This class has no child classes.
Author:
David FAUTHOUX

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de