Get the x and y coordinates of of a tile in a mosaic.
bool CExtAPI::tile_GetTileCoords(LPVOID hTile, long &x, long &y);
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.) |
False if an error occurred, and true otherwise (with x and y set to the correct values.)
None.