Compute light and dark colors to use for a gradient
void PgCalcColorContrast( PgColor_t flat_color, int contrast, PgColor_t *light, PgColor_t *dark );
ph
This function computes light and dark colors that can be used to construct gradients. It's used by Photon to compute bevel gradients.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PgBackgroundShadings(), PgColor_t
“Gradients” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide