I'm trying to draw a low-res bitmap on a high-res display in bit-doubled
format.

I am successfully creating and accessing a high density screen just fine
in my program.

Then I want to draw a low-density bitmap on that high density screen. 
So, I call: 

WinSetCoordinateSystem(kCoordinatesStandard);
WinDrawBitmap(bitmap,x,y);
WinSetCoordinateSystem(kCoordinatesNative);

Strangely, the coordinates at which the bitmap is drawn are doubled as
I'd hoped...but the bitmap itself is not bit doubled.

Lessee if my ASCII art can explain:

On Low-Density devices, there are 4 bitmaps, a,b,c,d.  The bitmaps are
placed like this:
AABBCCCCCC
   DDDD
   DDDD
   DDDD

There are no gaps between the images.

On High-Density devices, the bitmaps look like this:
AA  BB  CCCCCC

      DDDD
      DDDD
      DDDD

Hrm...that's not terribly explanatory...but there are gaps between each
of the graphics, so the coordinates are being doubled, but the bits
aren't.

On High-Density devices, the bitmaps *should* look like this if they're
bit doubled:
AAAABBBBCCCCCCCCCCCC
AAAABBBBCCCCCCCCCCCC
      DDDDDDDD
      DDDDDDDD
      DDDDDDDD
      DDDDDDDD
      DDDDDDDD
      DDDDDDDD

Can anyone point at the (probably obvious) solution?  I've been to the
KB, and through the docs, and no answer jumps out at me.

-Ken


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

Reply via email to