Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PhCopyTiles()

Copy a list of tiles

Synopsis:

PhTile_t * PhCopyTiles(
              PhTile_t const * const tile );

Library:

ph

Description:

This function creates a copy of the list of tiles pointed to by tile.


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

Returns:

A pointer to the copy.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhAddMergeTiles(), PhClipTilings(), PhCoalesceTiles(), 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