Lines Matching refs:sk_image_t
173 static const SkImage* AsImage(const sk_image_t* cimage) { in AsImage()
177 static sk_image_t* ToImage(SkImage* cimage) { in ToImage()
178 return reinterpret_cast<sk_image_t*>(cimage); in ToImage()
221 sk_image_t* sk_image_new_raster_copy(const sk_imageinfo_t* cinfo, const void* pixels, in sk_image_new_raster_copy()
227 return (sk_image_t*)SkImage::MakeRasterCopy(SkPixmap(info, pixels, rowBytes)).release(); in sk_image_new_raster_copy()
230 sk_image_t* sk_image_new_from_encoded(const sk_data_t* cdata, const sk_irect_t* subset) { in sk_image_new_from_encoded()
235 sk_data_t* sk_image_encode(const sk_image_t* cimage) { in sk_image_encode()
239 void sk_image_ref(const sk_image_t* cimage) { in sk_image_ref()
243 void sk_image_unref(const sk_image_t* cimage) { in sk_image_unref()
247 int sk_image_get_width(const sk_image_t* cimage) { in sk_image_get_width()
251 int sk_image_get_height(const sk_image_t* cimage) { in sk_image_get_height()
255 uint32_t sk_image_get_unique_id(const sk_image_t* cimage) { in sk_image_get_unique_id()
391 void sk_canvas_draw_image(sk_canvas_t* ccanvas, const sk_image_t* cimage, float x, float y, in sk_canvas_draw_image()
396 void sk_canvas_draw_image_rect(sk_canvas_t* ccanvas, const sk_image_t* cimage, in sk_canvas_draw_image_rect()
464 sk_image_t* sk_surface_new_image_snapshot(sk_surface_t* csurf) { in sk_surface_new_image_snapshot()
466 return (sk_image_t*)surf->makeImageSnapshot().release(); in sk_surface_new_image_snapshot()