![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Extract the red component from a color value
int PgRedValue( PgColor_t color );
ph
This macro extracts the red color component from a composite color value. The result is between 0 and 255.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PgRedValue() is a macro.
PgAlphaValue(), PgARGB(), PgBlueValue(), PgCMY(), PgColor_t, PgGreenValue(), PgHSV(), PgRGB(), PgSetFillColor(), PgSetFillDither()
"Color" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |