Function SolidPattern.fromRGB
Creates a new SolidPattern
corresponding to an opaque 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 fromRGB(
double red,
double green,
double blue
);
static SolidPattern fromRGB(
RGB rgb
);
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 |