Home | History | Annotate | Download | only in util

Lines Matching refs:surface

34 helper_cairo_surface_write_to_ansi_stream (cairo_surface_t	*surface,
38 unsigned int width = cairo_image_surface_get_width (surface);
39 unsigned int height = cairo_image_surface_get_height (surface);
40 if (cairo_image_surface_get_format (surface) != CAIRO_FORMAT_RGB24) {
43 if (cairo_image_surface_get_format (surface) == CAIRO_FORMAT_A8) {
47 cairo_mask_surface (cr, surface, 0, 0);
51 cairo_set_source_surface (cr, surface, 0, 0);
55 surface = new_surface;
57 cairo_surface_reference (surface);
59 unsigned int stride = cairo_image_surface_get_stride (surface);
60 const uint32_t *data = (uint32_t *) (void *) cairo_image_surface_get_data (surface);
100 cairo_surface_destroy (surface);