----- Original Message ----- 
From: "Vu Pham" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 7:04 PM
Subject: WinCopyRectangle and color


> I use WinCopyRectangle to copy bitmap. The source rectangle has only black
> and white colors.
> I would like to have the destination bitmap to have x and y colors, with x
> color corresponding to white source pixel, and y color corresponding to
> black source pixel.
>
> Is it possible ?

I found the answer in the Refernce. It works if the source bitmap has 1-bit
depth. Just tried and it works.

Vu


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

Reply via email to