>Consider the case where "red" (#FF0000) is the transparent color.
>Since we are using 16-bit DirectColor, we have only 5 bits of red
>...
>The question is what the elements of the "transparentColor" field in
>the BitmapDirectInfoType structure should be.  Should "r" be 0x1F
>(since we're only using 5 bits of red), or 0xFF?  The spec seems to
>say 0xFF, but is ambiguous.

0xFF, I'm practically positive.  A quick test should give confirmation,
though, as blitter code isn't always the easiest to follow if you're not an
expert in that sort of stuff, which I'm not.

-David Fedor
Palm Developer Support

-- 
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