• Home
  • Raw
  • Download

Lines Matching refs:crect

89 static const SkRect& AsRect(const sk_rect_t& crect) {  in AsRect()  argument
90 return reinterpret_cast<const SkRect&>(crect); in AsRect()
204 void sk_path_add_rect(sk_path_t* cpath, const sk_rect_t* crect, sk_path_direction_t cdir) { in sk_path_add_rect() argument
209 as_path(cpath)->addRect(AsRect(*crect), dir); in sk_path_add_rect()
212 void sk_path_add_oval(sk_path_t* cpath, const sk_rect_t* crect, sk_path_direction_t cdir) { in sk_path_add_oval() argument
217 as_path(cpath)->addOval(AsRect(*crect), dir); in sk_path_add_oval()
220 bool sk_path_get_bounds(const sk_path_t* cpath, sk_rect_t* crect) { in sk_path_get_bounds() argument
224 if (crect) { in sk_path_get_bounds()
225 *crect = ToRect(SkRect::MakeEmpty()); in sk_path_get_bounds()
230 if (crect) { in sk_path_get_bounds()
231 *crect = ToRect(path.getBounds()); in sk_path_get_bounds()
242 void sk_canvas_save_layer(sk_canvas_t* ccanvas, const sk_rect_t* crect, const sk_paint_t* cpaint) { in sk_canvas_save_layer() argument
243 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_save_layer()
277 void sk_canvas_clip_rect(sk_canvas_t* ccanvas, const sk_rect_t* crect) { in sk_canvas_clip_rect() argument
278 AsCanvas(ccanvas)->clipRect(AsRect(*crect)); in sk_canvas_clip_rect()
289 void sk_canvas_draw_rect(sk_canvas_t* ccanvas, const sk_rect_t* crect, const sk_paint_t* cpaint) { in sk_canvas_draw_rect() argument
290 AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_rect()
298 void sk_canvas_draw_oval(sk_canvas_t* ccanvas, const sk_rect_t* crect, const sk_paint_t* cpaint) { in sk_canvas_draw_oval() argument
299 AsCanvas(ccanvas)->drawOval(AsRect(*crect), AsPaint(*cpaint)); in sk_canvas_draw_oval()