OpenQNX :: The QNX Community Portal

Aug 21, 2008 - 06:31 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 51 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
rahul_mot
Post subject: PgContextBlitArea()  PostPosted: Sep 14, 2007 - 05:25 AM
New Member


Joined: Sep 14, 2007
Posts: 2

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,
 
 View user's profile Send private message  
Reply with quote Back to top
qnxloader
Post subject: RE: PgContextBlitArea()  PostPosted: Sep 14, 2007 - 08:42 AM
Senior Member


Joined: Oct 06, 2003
Posts: 147

Create Region_wgt, Create Raw_wgt on it, in raw_draw_func:
PgSetRegion(PtGetRid(region_wgt));
PgContextBlitArea(.....NULL,...);
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.