Function SolidPattern.fromRGBA
Creates a new SolidPattern
corresponding to a translucent color.
The color components are floating point
numbers in the range 0 to 1.
If the values passed in are outside that range, they will be clamped.
Prototypes
static SolidPattern fromRGBA(
double red,
double green,
double blue,
double alpha
);
static SolidPattern fromRGBA(
RGBA rgba
);
Authors
Johannes Pfau | cairoD |
Andrej Mitrovic | cairoD |
cairo team | cairo |
Copyright
License
cairoD wrapper/bindings | Boost License 1.0 |
cairo | LGPL 2.1 / MPL 1.1 |