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

PgBlueValue()

Extract the blue component from a color value

Synopsis:

int PgBlueValue( PgColor_t color );

Library:

ph

Description:

This macro extracts the blue 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:

PgBlueValue() is a macro.

See also:

PgAlphaValue(), PgARGB(), PgCMY(), PgColor_t, PgGreenValue(), PgHSV(), PgRedValue() PgRGB(), PgSetFillColor(), PgSetFillDither()

"Color" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide


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