The plot thickens.

>From Palm_OS_Reference:

If the bitmap has multiple depths (is a bitmap family), the closest
match less than or equal to the current draw window depth is used.
If such a bitmap does not exist, the bitmap with the closest match
greater than the draw window depth is used.

So I deleted the 1-bit bitmap from the family, so that only the 2 bit bitmap
exists.  Nothing is drawn.

On a IIIc, it draws the 2 bit bitmap just fine.

What am I missing?  Is there a call I need to make that says "Turn on Gray
Scale drawing on a 3.5 gray scale device"?

Shannon Lowery wrote:

> OK, I give up.
>
> How do I make grayscale drawing work on a 3.5 gray device, say a Vx.
>
> This code works perfectly on a IIIc, I didn't think I needed to do
> anything different to make it work on a Vx.
>
> I call DrawBitmap with a multidepth bitmap.  I have examined the bitmap
> in Rsrcedit on the device, and the grayscale bitmaps are really there.
>
> But on the Vx, it just ignores the the 2-bit bitmaps and draws the 1-bit
> bitmap.
>
> I tried to look this up on the Knowledgebase tonight, but oasis.palm.com
> is down.
>
> Can anyone provide a simple answer?
>
> thanks, Ted


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

Reply via email to