[Previous] [Contents] [Index] [Next]

PgRedValue()

Extract the red component from a color value

Synopsis:

int PgRedValue( PgColor_t color );

Description:

This macro extracts the red color component from a composite color value (a PgColor_t type). The result is between 0 and 255.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

Caveats:

PgRedValue() is a macro.

See also:

PgBlueValue(), PgCMY(), PgGreenValue(), PgHSV(), PgRGB(), PgSetFillColor(), PgSetFillDither()


[Previous] [Contents] [Index] [Next]