class GraphicMode : public PixelMatrix

Map PixelMatrix to the screen

Inheritance:


Public Methods

GraphicMode(int gapBetweenLuz) throw()
virtual ~GraphicMode() throw()
virtual void on() throw(Exception)
virtual void off() throw()
virtual void clear() throw()
void getSize(int& j, int& i) const throw()
void refresh() throw()
void redirect(Redirector& r) throw()

Protected Fields

List < Redirector * > redirector
bool actif

Inherited from PixelMatrix:

Public Methods

PixelArray& operator[](int k) throw()
const PixelArray& operator[](int k) const throw()
int nbLine() const throw()
int nbColumn() const throw()
void putSprite(const PixelMatrix& data, const PixelMatrix& mask, int jPosFrom, int iPosFrom, int jPosTo, int iPosTo, int jSizeFrom, int iSizeFrom) throw()
void putSpriteColor(Pixel color, const PixelMatrix& data, int jPosFrom, int iPosFrom, int jPosTo, int iPosTo, int jSizeFrom, int iSizeFrom) throw()
void putSpriteUnderMask(const PixelMatrix& data, const PixelMatrix& mask, int jPosFrom, int iPosFrom, int jPosTo, int iPosTo, int jSizeFrom, int iSizeFrom, const UnderMaskMatrix& underMask, int jPosUnderMask, int iPosUnderMask) throw()
void putSpriteUnderMaskPalette(const PixelMatrix& data, const PixelMatrix& mask, int jPosFrom, int iPosFrom, int jPosTo, int iPosTo, int jSizeFrom, int iSizeFrom, const UnderMaskMatrix& underMask, int jPosUnderMask, int iPosUnderMask, const PixelPalette& pal) throw()
void copy(const PixelMatrix& data, int jPosFrom, int iPosFrom, int jPosTo, int iPosTo, int jSizeFrom, int iSizeFrom) throw()
operator const Pixel*() const throw()
operator Pixel*() throw()

Protected Fields

Array < PixelArray * > a
Pixel* p

Documentation

Map PixelMatrix to the screen. The public inherit from PixelMatrix enables to use [ ] easily. Interesting : it can be "redirected" : the PixelMatrix is not mapped to the screen but to a Redirector, its return is so mapped to the screen.
List < Redirector * > redirector

bool actif

GraphicMode(int gapBetweenLuz) throw()

virtual ~GraphicMode() throw()

virtual void on() throw(Exception)

virtual void off() throw()

virtual void clear() throw()

void getSize(int& j, int& i) const throw()

void refresh() throw()

void redirect(Redirector& r) throw()


This class has no child classes.
Author:
David FAUTHOUX
See Also:
Redirector

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