I am creating a hi res game and am working on the base graphics functions. I have all my game graphics in a 320x320 true color bitmap, and i am able to load it in an offscreen window to work with the images later using wincopyrectangle, but if I dump the whole bitmap to the screen the bitmap is about 12 pixels displaced, i have read that there is an issue regarding bitmap compression, so i am trying the following steps:
1. Load a form and set it to 320x320 16bits mode. 2. Create a 320x320 offscreen window normaldensity 3. paint the bitpam in the offscreen window 4. Get bitmap bits from the offscreen and use them to create a v3 bitmap 5. create another offscreen buffer, this time 160x160 double density, and set this window to 320x320 16bits depth 6. paint the v3 bitmap on this offscreen 7. Then i use the last offscreen window as source for every graphic i need to paint. With this method i get the bitmap painted the right way in the simulator, but in my zire71 it is very pixelated, it is painted in low density. If instead of drawing the bitmap to a second offscreen window i dump it to the screen directly it looks perfect. What am i doing wrong? Where can i find more info about double density and hi res? (appart of the white paper available in palmsource) What is the corret way and place to call winsetscreenmode? Thanks in advance to all. David Temes -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
