Create a list of tiles from an array of rectangles
PhTile_t * PhRectsToTiles( PhRect_t *rects, int num_rects );
This function creates a list of tiles from the array of rectangles pointed to by rects, with num_rects entries.
A pointer to the list of tiles.
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 |
PhAddMergeTiles(), PhClipTilings(), PhCoalesceTiles(), PhCopyTiles(), PhDeTranslateTiles(), PhFreeTiles(), PhGetTile(), PhIntersectTilings(), PhMergeTiles(), PhSortTiles(), PhTile_t, PhTilesToRects(), PhTranslateTiles()