#Color 0 transparent blit
17-Jan-94 21:51:29
Sb: #38943-#Color 0 transparent blit
Fm: Steven Bennett 70046,441
To: Vic Wagner 76046,3004
Actually, I *have* the mask. Since the images being blitted are all out of a
single data file, I made up a second set of images for the mask, all one bit
plane, when I decided to try to use BltMaskBitMapRastPort(). What I *don't*
understand is why the results turned out the way they did. I would expect that
a call like this:
BltMaskBitMapRastPort(&mybitmap, 0, 0, destrastport, x, y, w, h, 0xC0,
mask);
where, for example (each digit being a color):
mybitmap contains: 00012321000
mask contains: 00011111000
destrastport is: 45454545454
we end up with: 66612321666
This makes no sense to me. I would expect a result of 00012321000 or a result
of 45412321454 (which is my goal in the first place), but have no idea why the
outer edges end up as some color other than the background color or the
original destination colors with this call.
–>Steve Bennett