Hi all,
I have a background bmp image that is 793 x 592, the
display surface that i'm using is 793 x 526. How do I scale the image to look correct? When I display the bmp with a blt operation the image is displayed at an angle. I know this is possible, i'm just not sure how to do it. Do I come up with a ratio of the source size relative to the destination size and feed that to the GDBLTFX structure? Any help would be appreciated.
Also, I'm have an issue with the menu bar on the pocket pc using the current gapidraw api. For some
reason the menu is present when the app starts, however the menu text is not display until i click on the menubar itself, after that everything is fine. I can whip together a quick example if need be. In this case everything looks in order on my end. :-)
Thanks for your help,
Robert
I have a background bmp image that is 793 x 592, the
display surface that i'm using is 793 x 526. How do I scale the image to look correct? When I display the bmp with a blt operation the image is displayed at an angle. I know this is possible, i'm just not sure how to do it. Do I come up with a ratio of the source size relative to the destination size and feed that to the GDBLTFX structure? Any help would be appreciated.
Also, I'm have an issue with the menu bar on the pocket pc using the current gapidraw api. For some
reason the menu is present when the app starts, however the menu text is not display until i click on the menubar itself, after that everything is fine. I can whip together a quick example if need be. In this case everything looks in order on my end. :-)
Thanks for your help,
Robert