void CBCGPBrush::AdaptColors | ( | COLORREF | clrBase, |
COLORREF | clrTone, | ||
BOOL | bClampHue = TRUE |
||
) |
Replaces colors with specified tone color. If the clrBase parameter specifies a similar hue component for the brush's 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. |