cairoSetSourceRgba {RGtk2} | R Documentation |
Sets the source pattern within cr
to a translucent color. This
color will then be used for any subsequent drawing operation until
a new source pattern is set.
cairoSetSourceRgba(cr, red, green, blue, alpha)
|
[Cairo ] a cairo context |
|
[numeric] red component of color |
|
[numeric] green component of color |
|
[numeric] blue component of color |
|
[numeric] alpha component of color |
The color and alpha components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped.
Derived by RGtkGen from GTK+ documentation