A 24-bit left shift
Listing 6
converts the incoming
percentOpacity
value
to an integer value ranging from 0 to 255 inclusive
This value resides
in the least significant eight bits
of an
int
variable named
opacity
.
File: bz.htm
[Next]
[Prev]