¡@

Home 

c++ Programming Glossary: maskcurrent

How to do alpha blend fast?

http://stackoverflow.com/questions/1102692/how-to-do-alpha-blend-fast

srcByteTop GET_BYTE srcBitsTop left y stride bytepp BYTE maskCurrent GET_GREY maskSrc left y width int alpha 0 int red 0 int green.. 0 int green 0 int blue 0 for int x left x right x alpha maskCurrent red srcByteTop R alpha srcByte R 255 alpha 255 green srcByteTop.. B blue srcByte bytepp srcByteTop bytepp resultByte bytepp maskCurrent however I find it is still slow it takes about 40 60 ms when..