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)
}
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)
}
// NewPatternFromRGB is a wrapper around cairo_pattern_create_rgb().