• Home
  • Raw
  • Download

Lines Matching refs:cimage

105 static const SkImage* AsImage(const sk_image_t* cimage) {  in AsImage()  argument
106 return reinterpret_cast<const SkImage*>(cimage); in AsImage()
109 static sk_image_t* ToImage(SkImage* cimage) { in ToImage() argument
110 return reinterpret_cast<sk_image_t*>(cimage); in ToImage()
153 sk_data_t* sk_image_encode(const sk_image_t* cimage) { in sk_image_encode() argument
154 return ToData(AsImage(cimage)->encodeToData().release()); in sk_image_encode()
157 void sk_image_ref(const sk_image_t* cimage) { in sk_image_ref() argument
158 AsImage(cimage)->ref(); in sk_image_ref()
161 void sk_image_unref(const sk_image_t* cimage) { in sk_image_unref() argument
162 AsImage(cimage)->unref(); in sk_image_unref()
165 int sk_image_get_width(const sk_image_t* cimage) { in sk_image_get_width() argument
166 return AsImage(cimage)->width(); in sk_image_get_width()
169 int sk_image_get_height(const sk_image_t* cimage) { in sk_image_get_height() argument
170 return AsImage(cimage)->height(); in sk_image_get_height()
173 uint32_t sk_image_get_unique_id(const sk_image_t* cimage) { in sk_image_get_unique_id() argument
174 return AsImage(cimage)->uniqueID(); in sk_image_get_unique_id()
335 void sk_canvas_draw_image(sk_canvas_t* ccanvas, const sk_image_t* cimage, float x, float y, in sk_canvas_draw_image() argument
337 AsCanvas(ccanvas)->drawImage(AsImage(cimage), x, y, to_sampling(csamp), AsPaint(cpaint)); in sk_canvas_draw_image()
340 void sk_canvas_draw_image_rect(sk_canvas_t* ccanvas, const sk_image_t* cimage, in sk_canvas_draw_image_rect() argument
344 const SkImage* image = AsImage(cimage); in sk_canvas_draw_image_rect()