Classes | Public Member Functions

LibGeoDecomp::Image Class Reference

#include <image.h>

Inherits Grid< Color >.

Collaboration diagram for LibGeoDecomp::Image:
Collaboration graph
[legend]

List of all members.

Classes

class  IllegalCoordException

Public Member Functions

 Image (const unsigned &width, const unsigned &height, const Color &col=Color())
 Image (const Coord< 2 > &dim, const Color &col=Color())
Image slice (const Coord< 2 > &upperLeft, const unsigned &width, const unsigned &height)
Image slice (const unsigned &x, const unsigned &y, const unsigned &width, const unsigned &height)
void paste (const Coord< 2 > &upperLeft, const Image &img)
void paste (const int &x, const int &y, const Image &img)
void fillBox (const Coord< 2 > &upperLeft, const unsigned &boxWidth, const unsigned &boxHeight, const Color &col)

Constructor & Destructor Documentation

LibGeoDecomp::Image::Image ( const unsigned width,
const unsigned height,
const Color col = Color() 
) [inline]
LibGeoDecomp::Image::Image ( const Coord< 2 > &  dim,
const Color col = Color() 
) [inline, explicit]

Member Function Documentation

void LibGeoDecomp::Image::fillBox ( const Coord< 2 > &  upperLeft,
const unsigned boxWidth,
const unsigned boxHeight,
const Color col 
) [inline]
void LibGeoDecomp::Image::paste ( const int &  x,
const int &  y,
const Image img 
)

References paste().

void LibGeoDecomp::Image::paste ( const Coord< 2 > &  upperLeft,
const Image img 
)
Image LibGeoDecomp::Image::slice ( const Coord< 2 > &  upperLeft,
const unsigned width,
const unsigned height 
)

References LibGeoDecomp::copy().

Referenced by slice().

Image LibGeoDecomp::Image::slice ( const unsigned x,
const unsigned y,
const unsigned width,
const unsigned height 
)

References slice().


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