Any help?
There is this thing on Dinkvar.h:
dib_pitch = (pbi->biWidth+3)&~3;
Don't know what does that &~3. Someone can help, please?
dib_pitch = (pbi->biWidth+3)&~3;
Don't know what does that &~3. Someone can help, please?
& is the bitwise 'and' operation.
~ is the bitwise 'not' operation.
Wikipedia has a good article on bitwise operations in general.
~ is the bitwise 'not' operation.
Wikipedia has a good article on bitwise operations in general.