Skip navigation.
Home
The QNX Community Portal

View topic - PtPolygon and PtBezier versus Memory Context

PtPolygon and PtBezier versus Memory Context

Isn't the name clear?

PtPolygon and PtBezier versus Memory Context

Postby lada » Thu Oct 11, 2007 1:46 pm

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). :(

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

The sample project attached.
Attachments
mc_snap.gz
To decompress use
"tar -zcf mc_snap.gz mc_snap"
(22.49 KiB) Downloaded 232 times
lada
New Member
 
Posts: 5
Joined: Fri Feb 04, 2005 10:37 am

Postby lada » Thu Oct 18, 2007 9:37 am

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.
lada
New Member
 
Posts: 5
Joined: Fri Feb 04, 2005 10:37 am


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 2 guests