Home | History | Annotate | Download | only in ewk

Lines Matching refs:surface

31  * @param surface cairo representation of an image
34 Evas_Object* ewk_util_image_from_cairo_surface_add(Evas* canvas, cairo_surface_t* surface)
45 EINA_SAFETY_ON_NULL_RETURN_VAL(surface, 0);
47 status = cairo_surface_status(surface);
49 ERR("cairo surface is invalid: %s", cairo_status_to_string(status));
53 type = cairo_surface_get_type(surface);
55 ERR("unknown surface type %d, required %d (CAIRO_SURFACE_TYPE_IMAGE).",
60 format = cairo_image_surface_get_format(surface);
62 ERR("unknown surface format %d, expected %d or %d.",
67 w = cairo_image_surface_get_width(surface);
68 h = cairo_image_surface_get_height(surface);
69 stride = cairo_image_surface_get_stride(surface);
75 src = cairo_image_surface_get_data(surface);