Gimp.cairo_set_source_rgba

@accepts(cairo.Context, Gimp.RGB)
@returns(none)
def cairo_set_source_rgba(cr, color):
    # Python wrapper for gimp_cairo_set_source_rgba()
  

Sets the source pattern within cr to the solid translucent color described by color.

This function calls cairo_set_source_rgba() for you.

Since 2.6

cr

Cairo context

color

GimpRGB color