| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
|  | This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Merge two list tiles, eliminating overlap
PhTile_t * PhAddMergeTiles( PhTile_t *tiles,
                            PhTile_t *add_tiles,
                            int *added );
ph
PhAddMergeTiles() merges the list of tiles pointed to by add_tiles into the list pointed to by tiles and returns a pointer to the resulting list.
This function makes sure that the tiles in the merged list don't overlap.
A pointer to the merged list. This isn't always the same as the tiles pointer.
|  | Don't free() the list of tiles; instead, use PhFreeTiles() to return the tiles to the internal pool. | 
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PhClipTilings(), PhCoalesceTiles(), PhCopyTiles(), PhDeTranslateTiles(), PhFreeTiles(), PhGetTile(), PhIntersectTilings(), PhMergeTiles(), 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) |