pattern->extend = CAIRO_EXTEND_DEFAULT; pattern->filter = CAIRO_FILTER_DEFAULT;  _cairo_color_init (&pattern->color);
pattern->extend    = CAIRO_EXTEND_DEFAULT; pattern->filter    = CAIRO_FILTER_DEFAULT; pattern->alpha     = 1.0;
_cairo_pattern_init (cairo_pattern_t *pattern){    pattern->ref_count = 1;    pattern->extend = CAIRO_EXTEND_DEFAULT;    pattern->filter = CAIRO_FILTER_DEFAULT;    _cairo_color_init (&pattern->color);    _cairo_matrix_init (&pattern->matrix);    pattern->stops = NULL;    pattern->n_stops = 0;    pattern->type = CAIRO_PATTERN_SOLID;    pattern->source = NULL;    pattern->source_offset.x = 0.0;    pattern->source_offset.y = 0.0;}