Lines Matching refs:sk_image_t
153 static const SkImage* AsImage(const sk_image_t* cimage) { in AsImage()
157 static sk_image_t* ToImage(SkImage* cimage) { in ToImage()
158 return reinterpret_cast<sk_image_t*>(cimage); in ToImage()
201 sk_image_t* sk_image_new_raster_copy(const sk_imageinfo_t* cinfo, const void* pixels, in sk_image_new_raster_copy()
207 return (sk_image_t*)SkImage::NewRasterCopy(info, pixels, rowBytes); in sk_image_new_raster_copy()
210 sk_image_t* sk_image_new_from_data(const sk_data_t* cdata) { in sk_image_new_from_data()
214 sk_data_t* sk_image_encode(const sk_image_t* cimage) { in sk_image_encode()
218 void sk_image_ref(const sk_image_t* cimage) { in sk_image_ref()
222 void sk_image_unref(const sk_image_t* cimage) { in sk_image_unref()
226 int sk_image_get_width(const sk_image_t* cimage) { in sk_image_get_width()
230 int sk_image_get_height(const sk_image_t* cimage) { in sk_image_get_height()
234 uint32_t sk_image_get_unique_id(const sk_image_t* cimage) { in sk_image_get_unique_id()
369 void sk_canvas_draw_image(sk_canvas_t* ccanvas, const sk_image_t* cimage, float x, float y, in sk_canvas_draw_image()
374 void sk_canvas_draw_image_rect(sk_canvas_t* ccanvas, const sk_image_t* cimage, in sk_canvas_draw_image_rect()
419 sk_image_t* sk_surface_new_image_snapshot(sk_surface_t* csurf) { in sk_surface_new_image_snapshot()
421 return (sk_image_t*)surf->newImageSnapshot(); in sk_surface_new_image_snapshot()
623 sk_image_t* cimage = sk_surface_new_image_snapshot(csurface); in sk_test_capi()