Gimp.cairo_set_source_rgb
@accepts(cairo.Context, Gimp.RGB)
@returns(none)
def cairo_set_source_rgb(cr, color):
# Python wrapper for gimp_cairo_set_source_rgb()
Sets the source pattern within cr to the solid opaque color described by color.
This function calls cairo_set_source_rgb() for you.
Since 2.6
- cr
Cairo context
- color
GimpRGB color