Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Yeong on March 17, 2012, 01:53:31 pm

Title: bitmap masking
Post by: Yeong on March 17, 2012, 01:53:31 pm
How do I do custom-sized bitmap masking?
Title: Re: bitmap masking
Post by: Deep Toaster on March 17, 2012, 02:56:38 pm
You could first draw a masking bitmap with OR logic (mode 0), and then draw the graphics bitmap with XOR logic (mode 1). Any bit that's set in both bitmaps will show up white, any bit that's set in the first and not in the second will show up black, and any bit that isn't set in either is "transparent."
Title: Re: bitmap masking
Post by: Yeong on March 17, 2012, 03:03:22 pm
hmm...
can you explain it bit more? :D