#include <lib_paint.h>
Color settings.
Public Member Functions | |
void | SetRGB (const Vector &rgb, Float i) |
void | GetRGB (Vector &rgb, Float &i) |
Private Member Functions | |
BPSingleColorSettings () | |
~BPSingleColorSettings () | |
|
private |
|
private |
Sets the RGB color and intensity value for the color. The intensity value is internally multiplied against the RGB value.
An RGB value of (0.5,0.5,0.5) is Grey. If the RGB value is (1.0,1.0,1.0) and the intensity value is 0.5 then the resulting color is Grey (0.5,0.5,0.5).
[in] | rgb | The RGB color. |
[in] | i | The intensity value. |
Gets the RGB color and intensity value for the color. The intensity value is internally multiplied against the RGB value.
An RGB value of (0.5,0.5,0.5) is Grey. If the RGB value is (1.0,1.0,1.0) and the intensity value is 0.5 then the resulting color is Grey (0.5,0.5,0.5).
[out] | rgb | The RGB color. |
[out] | i | The intensity value. |