Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PhClipTilings

PhClipTilings

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PhClipTilings()

Clip one list of tiles from another

Synopsis:

PhTile_t *PhClipTilings( 
             PhTile_t *tiles,
             PhTile_t const * const clip_tiles,
             PhTile_t **intersection );

Library:

ph

Description:

This function clips the list of tiles pointed to by clip_tiles from the list pointed to by tiles. If intersection isn't NULL, it's set to point to the list of intersections that are clipped out of the tiles list.

The clip_tiles list isn't modified.


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

Returns:

A pointer to the clipped list of tiles, or NULL if clip_tiles encompasses tiles.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

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