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

PhCoalesceTiles()

Combine a list of tiles

Synopsis:

PhTile_t * PhCoalesceTiles( PhTile_t *tiles );

Description:

PhCoalesceTiles() combines the tiles in the list pointed to by tiles as much as possible. This function works best on a sorted, merged list of tiles.


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

Returns:

A pointer to the list, which is always the same as the pointer given.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

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


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