In file gfx/libmosaic/Mosaic.hxx:

class Mosaic::MosaicBuilder

A class that builds a mosaic of the requested tiles.

Documentation

A class that builds a mosaic of the requested tiles. This class provides MosaicTiles on request and handles the allocation and deallocation. \todo Deallocation

Inheritance:

MosaicBuilder


Public Methods

[more] MosaicBuilder (Texture2DFactory* fact)
MosaicBuilder takes ownership of fact
[more]void prepare ()
Prepare for rendering by reloading all textures
[more]MosaicTile alloc (int w, int h, int border = 0)
Allocate a new tile of the given width and height.

o MosaicBuilder(Texture2DFactory* fact)
MosaicBuilder takes ownership of fact

ovoid prepare()
Prepare for rendering by reloading all textures

oMosaicTile alloc(int w, int h, int border = 0)
Allocate a new tile of the given width and height.
Parameters:
border - The minimum amount of null pixels around this tile. The null areas of different tiles are allowed to overlap.


This class has no child classes.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.