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


Home
QNX Community Resources
QNX Documentation Library
PgSetRegion, PgSetRegionCx

PgSetRegion, PgSetRegionCx

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

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*()