Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::image::AlphaVal Macro
C++
#define AlphaVal(color) (((color) >> 24) & 0xFF)

Get the alpha value of a color. This is a 0-255 unsigned byte.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!