Skip navigation.
Home
The QNX Community Portal

View topic - PgContextBlitArea()

PgContextBlitArea()

Isn't the name clear?

PgContextBlitArea()

Postby rahul_mot » Fri Sep 14, 2007 5:25 am

Is it possible to specify a raw widget as a destination context (i.e. PdOffscreenContext_t *dst) in the following PgContextBlitArea() function call ?


void PgContextBlitArea( PdOffscreenContext_t *src,
PhArea_t *src_area,
PdOffscreenContext_t *dst,
PhArea_t *dst_area );

I know that specifying NULL for a PdOffscreenContext_t *dst, the destination context will be a display screen. But, I could not find, how we have to specify a raw widget as a destination context. Please help me with this question.


Thank you all in advance,
Rahul,
rahul_mot
New Member
 
Posts: 2
Joined: Fri Sep 14, 2007 5:03 am

RE: PgContextBlitArea()

Postby qnxloader » Fri Sep 14, 2007 8:42 am

Create Region_wgt, Create Raw_wgt on it, in raw_draw_func:
PgSetRegion(PtGetRid(region_wgt));
PgContextBlitArea(.....NULL,...);
qnxloader
Senior Member
 
Posts: 206
Joined: Mon Oct 06, 2003 8:29 am


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 1 guest