[Previous] [Contents] [Index] [Next]

PhTranslateTiles()

Add x and y offsets to the vertices of a list of tiles

Synopsis:

PhTile_t * PhTranslateTiles( 
              PhTile_t *tile,
              PhPoint_t const *point_add );

Description:

This function adds the coordinates of point_add to the vertices of each tile in the list pointed to by tile.


Note: Don't free() the list of tiles; instead, use PhFreeTiles() to return the tiles to the internal pool.

Returns:

The same pointer as tile.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhAddMergeTiles(), PhClipTilings(), PhCoalesceTiles(), PhCopyTiles(), PhDeTranslateTiles(), PhFreeTiles(), PhGetTile(), PhIntersectTilings(), PhMergeTiles(), PhRectsToTiles(), PhSortTiles(), PhTile_t, PhTilesToRects()


[Previous] [Contents] [Index] [Next]