Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PhDeTranslateTiles()
Subtract x and y offsets from the vertices of a list of tiles
Synopsis:
PhTile_t * PhDeTranslateTiles(
PhTile_t *tile,
PhPoint_t const *point_subtract );
Library:
ph
Description:
This function subtracts the coordinates of point_subtract from the vertices of each tile in the list pointed to by tile.
![]() |
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(), PhFreeTiles(), PhGetTile(), PhIntersectTilings(), PhMergeTiles(), PhPoint_t, PhRectsToTiles(), PhSortTiles(), PhTile_t, PhTilesToRects(), PhTranslateTiles()
"Using damage tiles" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
