| BOOL CBCGPColor::AdaptColors | ( | COLORREF | clrBase, |
| COLORREF | clrTone, | ||
| BOOL | bClampHue = TRUE |
||
| ) |
Replaces color with specified tone color. If the clrBase parameter specifies a similar hue component for the color, it will replace it with an adapted color based on clrTone.
| clrBase | Base color (source). |
| clrTone | Tone color (destination). |
| bClampHue | Specifies whether hue value of result colors should be clamped. |