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/pt/ptdamageextent.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/pt/ptdamageextent.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/pt/ptdamageextent.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/pt/ptdamageextent.html on line 8
Mark an area of a widget as damaged so that it will be redrawn
int PtDamageExtent( PtWidget_t *widget,
PhRect_t const *extent );
ph
This function marks the specified widget as damaged and adds
extent to the clipping list that will be used the
next time the widget engine redraws this widget.
The rectangle specified by the
PhRect_t
structure pointed to by extent is relative to the widget's origin.
All widgets in front of the damaged widget that intersect with
extent will be redrawn. If the damaged widget's fill
color is transparent, all widgets behind it that
intersect extent will be redrawn. In all cases, the
clipping will be set to extent.
The widget library takes care of updating widgets whenever resources
are modified; you don't normally need to use this function unless you're
using a
PtRaw
widget and want it to redraw and repair part or all of itself.
If you want the widget to be redrawn immediately, call
PtFlush()
after calling PtDamageExtent().
- 0
- Success.
- -1
- An error occurred.
This function fails if the widget isn't a container and
doesn't reside in a container, or if there isn't enough
memory to expand the damage list.
See PhBlit().
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PhRect_t,
PtDamageWidget(),
PtFlush()
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/pt/ptdamageextent.html on line 126
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/pt/ptdamageextent.html on line 126