934 |
CAIRO_FORMAT_ARGB32, |
CAIRO_FORMAT_ARGB32, |
935 |
w, h, stride * 4); |
w, h, stride * 4); |
936 |
g_assert (gr->pattern_surface != NULL); |
g_assert (gr->pattern_surface != NULL); |
|
cairo_pattern_set_extend (gr->pattern, 1); |
|
937 |
gr->pattern = cairo_pattern_create_for_surface (gr->pattern_surface); |
gr->pattern = cairo_pattern_create_for_surface (gr->pattern_surface); |
938 |
g_assert (gr->pattern != NULL); |
g_assert (gr->pattern != NULL); |
939 |
|
cairo_pattern_set_extend (gr->pattern, CAIRO_EXTEND_REPEAT); |
940 |
cairo_set_source (gr->cr, gr->pattern); |
cairo_set_source (gr->cr, gr->pattern); |
941 |
} |
} |
942 |
|
|