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/wid_build/libs/ptdamageexposed.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/wid_build/libs/ptdamageexposed.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/wid_build/libs/ptdamageexposed.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/wid_build/libs/ptdamageexposed.html on line 8

PtDamageExposed()

Damage the specified widgets

Synopsis:

void PtDamageExposed( PtWidget_t *widget, 
                      PhTile_t *tile );

Arguments:

widget
A pointer to the widget to damage.
tile
A list of PhTile_t structures (see the Photon Library Reference) that define the rectangles to damage. These rectangles should be relative to the widget's origin.

Description:

This function damages the list of rectangles given in tile on the parent of widget. The damage may extend beyond the extent of the widget.


Note: This function frees the tile list automatically.

Examples:

To redraw a transparent widget due to a data change:

tile = PhGetTile();
PtWidgetExtent( widget, &tile->rect );
tile->next = NULL;
PtDamageExposed( widget, tile );

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhGetTile(), PhTile_t in the Photon Library Reference


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/wid_build/libs/ptdamageexposed.html on line 122

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/wid_build/libs/ptdamageexposed.html on line 122