Page 1 of 1

PostPosted: Fri Jul 16, 2004 10:56 pm
by meat_boy7
Hi, I feel like an idiot for asking this, but how do I get bitmaps to display using a 1:1 correlation in hi-res (native) mode? I have a Palm Tungsten E with a native hi-res mode of 320x320. But when I use SetScale(0), the string-based bitmap()s and TransBmp()s are still at the 2:1 ratio (for a 160x160 screen). I am using artBMP to make the transparent bitmaps. Am I doing something wrong or am I using the wrong bitmap program? Any help would be appreciated, thanks!

PostPosted: Sat Jul 17, 2004 12:21 am
by jstadolnik
The scale setting has no effect on how bitmaps are drawn (it's just the way the PalmOS works).

The best way to draw high resolution bitmaps in the palmOS is use create high resolution bitmaps... which requires the use of PilRC. The bitmaps you created with artBmp are low res and will always draw as such.

Technically, there are buffer tricks which can be played to get low res bitmaps to draw as high res ones, but neither to PToolboxLib or PocketC exposes this functionality.

So your best bet is to use PilRC.

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm

PostPosted: Sat Jul 17, 2004 12:42 am
by meat_boy7
Joe thanks for your expedient assistance! -EJ :-)