Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::image::SetGreen Macro
C++
#define SetGreen( rgb, g ) ( ((rgb)&0xFFFF00FF) | ( ((g)0x0000FF)<<8 ) )

Sets the green channel of a color. Expects a value 0-255.

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