code: func NewPatternFromRGB(red, green, blue float64) (*Pattern, error) {
  	c := C.cairo_pattern_create_rgb(C.double(red), C.double(green), C.double(blue))
  	return newPatternFromNative(c)
  }
docs: // NewPatternFromRGB is a wrapper around cairo_pattern_create_rgb().