Hey, I'm a second year comp sci student in Vancouver British Columbia, with a bit of a pickle on my hands.
We're using the get and set pixel functions in the Cgapisuface. When you do a "==" comparison on the result of the pixel they will not match. ie) I set a pixel with a color, and then get that pixel's color and compare the result to the original color. This will return false. I am wondering if there is a problem in these functions or any help would be large. To my understanding a COLORREF is stored bitwise as 0x00bbggrr. Thanks for any help you guys could lend.
cheers
Epinephrine
We're using the get and set pixel functions in the Cgapisuface. When you do a "==" comparison on the result of the pixel they will not match. ie) I set a pixel with a color, and then get that pixel's color and compare the result to the original color. This will return false. I am wondering if there is a problem in these functions or any help would be large. To my understanding a COLORREF is stored bitwise as 0x00bbggrr. Thanks for any help you guys could lend.
cheers
Epinephrine