Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phrectstotiles.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phrectstotiles.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phrectstotiles.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phrectstotiles.html on line 8
Create a list of tiles from an array of rectangles
PhTile_t * PhRectsToTiles( PhRect_t *rects,
int num_rects );
ph
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(),
PhRect_t,
PhSortTiles(),
PhTile_t,
PhTilesToRects(),
PhTranslateTiles()
“Using damage tiles”
in the Raw Drawing and Animation chapter of the
Photon Programmer's Guide
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phrectstotiles.html on line 116
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phrectstotiles.html on line 116