int tsmPrintTile (SimpleTileSet *simpleTileSet, unsigned char *tileBuffer, int tx, int ty, FILE *file)

Display a tile's buffer data

Documentation

Display a tile's buffer data.

Takes the data for a particular tile and outputs a formatted table of the data values to a stream (e.g. stdout or stderr). This is useful for querying the contents of a tile that has been retrieved with tsmGetTile.

Returns:
TRUE if function completed successfully, FALSE if failed.
Parameters:
simpleTileSet - the SimpleTileSet containing the tile in question
tileBuffer - the raw tile buffer data
tx - the tile's x-coordinate
ty - the tile's y-coordinate
file - the stream to output to (e.g. stdout)
See Also:
tsmGetTile


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page