Description Usage Arguments Details Author(s)
Sets the source pattern within cr
to an opaque color. This opaque
color will then be used for any subsequent drawing operation until
a new source pattern is set.
1 | cairoSetSourceRgb(cr, red, green, blue)
|
|
[ |
|
[numeric] red component of color |
|
[numeric] green component of color |
|
[numeric] blue component of 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.
The default source pattern is opaque black, (that is, it is equivalent to cairo_set_source_rgb(cr, 0.0, 0.0, 0.0)).
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.