Container for representing position within tileset. More...
#include <spatmod/imagetileset.h>
Public Member Functions | |
| POSN () | |
| const LPOINT2D & | GetPixelInTile () const |
| const LPOINT2D & | GetTileIdx () const |
| void | Set (const LPOINT2D &TileIdx, const LPOINT2D &PixelInTile) |
Container for representing position within tileset.
| SPATMOD::IMAGE::TILESET::POSN::POSN | ( | ) |
Default constructor.
| const LPOINT2D& SPATMOD::IMAGE::TILESET::POSN::GetPixelInTile | ( | ) | const [inline] |
Get pixel position within tile.
| const LPOINT2D& SPATMOD::IMAGE::TILESET::POSN::GetTileIdx | ( | ) | const [inline] |
Get tile index.
Set position.
| TileIdx | Tile index, typically absolute within tileset | |
| PixelInTile | Pixel position within tile |
1.6.1