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/pg/pgsetregion.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/pg/pgsetregion.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/pg/pgsetregion.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/pg/pgsetregion.html on line 8
Specify which region will emit draw events
void PgSetRegion( PhRid_t rid );
void PgSetRegionCx( void *dc,
PhRid_t rid );
- dc
- PgSetGCCx() only. A void pointer to any type of draw context. Examples of draw contexts are:
- rid
- The region ID
ph
These functions specify which region will emit subsequent
draw events.
If rid is the current region, this function does nothing.
If rid isn't the current region, this function:
- Specifies rid as the region which will emit draw events.
- Resets the clipping rectangle to the full size of the region. Note that all draws are clipped to the region that emits them.
- Flushes the data before changing the current region, if the draw buffer contains unflushed data.
PgSetRegion() works on the current
draw context, while you can specify the draw context for
PgSetRegionCx().
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PgFlush*(),
PgGetRegion*(),
PgSetClipping*()
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/pg/pgsetregion.html on line 132
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/pg/pgsetregion.html on line 132