started cairo_pattern_* functions