OpenQNX :: The QNX Community Portal

Jul 05, 2008 - 12:11 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 49 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
lada
Post subject: PtPolygon and PtBezier versus Memory Context  PostPosted: Oct 11, 2007 - 01:46 PM
New Member


Joined: Feb 04, 2005
Posts: 4

I need to draw the content of the window to the memory context to create image for some reason. I used the example that is in the documetation - function PmMemCreateMC().
Everything works except PtPolygon and PtBezier widgets that are not drawn at all (simple window) or are drawn in wrong way (in case of window with many widgets). Sad

Does anybody have any experience ? Am I doing anything wrong ?
Thanks for any ideas.

The sample project attached.



mc_snap.gz
 Description:
To decompress use
"tar -zcf mc_snap.gz mc_snap"

Download
 Filename:  mc_snap.gz
 Filesize:  22.49 KB
 Downloaded:  70 Time(s)

 
 View user's profile Send private message  
Reply with quote Back to top
lada
Post subject:   PostPosted: Oct 18, 2007 - 09:37 AM
New Member


Joined: Feb 04, 2005
Posts: 4

Hmm, ... no reply yet.

I tried to draw to the OffScreenContext. It works properly. So I guess that ?bug? is somewhere inside of the Memory context ?

However, HOW TO PUT OffScreenContext TO THE IMAGE AND THEN TO WRITE IT TO THE FILE ? The application should work on the background without any change of the screen.

Thanks in advance for any help.
 
 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.