pattern = malloc (sizeof (cairo_pattern_t));
pattern = malloc (sizeof (cairo_solid_pattern_t));
_cairo_pattern_create_solid (double red, double green, double blue){    cairo_pattern_t *pattern;    pattern = malloc (sizeof (cairo_pattern_t));    if (pattern == NULL)	return NULL;    _cairo_pattern_init_solid (pattern, red, green, blue);    return pattern;}