Quote:
Originally posted by The Hand
Well, what I really need is a way to multiply an array of integers by the same number quickly.
I'm not talking about a "For i = 1 to Ubound: Next i" type thing... I'm talking about a CopyMemory type thing.
If I could multiply every number in an array by something with one or two (Or even 10) API steps and avoid looping thru the pixels, I could easily code my own alphablend function.
Oh well.
-Hand out
You do know what CopyMemory does do you? It loops from the first to the last byte and assigns it to another range. It's no kind of "magic" behind CopyMemory or Bitblt as lot's of people out here think. It's correct that it is easy to do, but you won't accomplish speedy alpha blend without C++ or even preferable ASM.