iflTile(3) Image Format Library C++ Reference Manual iflTile(3)NAMEiflTile2D - defines a simple 2-D rectangle
INHERITS FROM
This is a base class and therefore has no inheritance.
HEADER FILE
#include <ifl/iflCdefs.h>
DESCRIPTION
This class is used to describe rectangles (tiles). It is mostly used to
group together the four values describing the origin (x,y) and size
(nx,ny,) of a rectangle in a convenient way. The following is an example
on how to use a 2D integer tile. iflTile object can be declared in the
following way:
/* unitialized, and later filled in */
iflTile2Dint tile;
tile.x = xStart
tile.y = yStart
tile.nx = xSize
tile.ny = ySize
/* or initialized */
static iflTile2Dint tile = { xSize, yStart, xSize, ySize };
Page 1