RGBA function by TinTin12th Feb 2007 19:11
|
---|
Summary Include Alpha values in colour values Description This function impliments Alpha values to colour values. Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com Function RGBA(R as byte, G as byte, B as byte, A as byte) rDword as dWord rDword = (A<<24)||(R<<16)||(G<<8)||(B) EndFunction rDword |