class Window

Used to clip Sprite painting

Public Methods

Window(PixelMatrix& ref) throw()
ref is used to know the limits
void set(int jPos, int iPos, int jSize, int iSize) throw()
void get(int& jPos, int& iPos, int& jSize, int& iSize) const throw()
void set(int jPos, int iPos) throw()
void copy(const Window& a) throw()
void putSpriteColor(Pixel color, const Sprite& a, int jPos, int iPos) throw()
void putSprite(const Sprite& a, int jPos, int iPos) throw()
void putSpriteUnderMask(const Sprite& a, int jPos, int iPos, const UnderMaskMatrix& underMask, int jUnderMask, int iUnderMask) throw()
void putSpriteUnderMaskPalette(const Sprite& a, int jPos, int iPos, const UnderMaskMatrix& underMask, int jUnderMask, int iUnderMask, const PixelPalette& pal) throw()

Private Fields

friend WindowPipe
WindowDef w
PixelMatrix* const tab

Private Methods

void clip(int& jPos, int& iPos, int& jSize, int& iSize, int& jDecal, int& iDecal) const throw()

Documentation

Used to clip Sprite painting. Very useful. Attention : Window overlay not managed !
friend WindowPipe

struct WindowDef

Tji pos

Tji size

Tji saveSize

Tji savePos

bool print

WindowDef(int jSize, int iSize)

WindowDef w

PixelMatrix* const tab

void clip(int& jPos, int& iPos, int& jSize, int& iSize, int& jDecal, int& iDecal) const throw()

Window(PixelMatrix& ref) throw()
ref is used to know the limits

void set(int jPos, int iPos, int jSize, int iSize) throw()

void get(int& jPos, int& iPos, int& jSize, int& iSize) const throw()

void set(int jPos, int iPos) throw()

void copy(const Window& a) throw()

void putSpriteColor(Pixel color, const Sprite& a, int jPos, int iPos) throw()

void putSprite(const Sprite& a, int jPos, int iPos) throw()

void putSpriteUnderMask(const Sprite& a, int jPos, int iPos, const UnderMaskMatrix& underMask, int jUnderMask, int iUnderMask) throw()

void putSpriteUnderMaskPalette(const Sprite& a, int jPos, int iPos, const UnderMaskMatrix& underMask, int jUnderMask, int iUnderMask, const PixelPalette& pal) throw()


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