Table of Contents

tile_GetTileCoords

Description

Get the x and y coordinates of of a tile in a mosaic.

Function prototype

bool CExtAPI::tile_GetTileCoords(LPVOID hTile, long &x, long &y);

Arguments

Name Type Comment
hTile LPVOID A handle to a tile, the coordinates of which are to be retrieved.
x long& A long integer to receive the x coordinate (passed by reference.)
y long& A long integer to receive the y coordinate (passed by reference.)

Return value

False if an error occurred, and true otherwise (with x and y set to the correct values.)

Comments

None.