This paragraph describes my problem exactly in the article.

"Note that this means you will not be able to draw a low density bitmap as a
quarter size small bitmap on a high density screen by simply calling
WinSetCoordinateSystem before the draw. You would need to create a
nativeFormat offscreen windows and then set the offscreen window's bitmap to
low density. Draw the bitmap and then set the offscreen window's bitmap back
to high density. Finally copy from this window to the screen to get the
desired effect."

And this is how you do it for anyone else that encounters this problem.

BmpSetDensity(WinGetBitmap(MyOffsreenWindow), kDensityLow);
WinDrawBitmap(MyBitmap, 0, 0);
BmpSetDensity(WinGetBitmap(MyOffsreenWindow), kDensityDouble);



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to