PgSetRegion(), PgSetRegionCx()

Specify which region will emit draw events

Synopsis:

void PgSetRegion( PhRid_t rid );

void PgSetRegionCx( void *dc,
                    PhRid_t rid );

Arguments:

dc
PgSetGCCx() only. A void pointer to any type of draw context. Examples of draw contexts are:
rid
The region ID

Library:

ph

Description:

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:

PgSetRegion() works on the current draw context, while you can specify the draw context for PgSetRegionCx().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PgFlush*(), PgGetRegion*(), PgSetClipping*()