• Home
  • Raw
  • Download

Lines Matching refs:cpath

165 static const SkPath& AsPath(const sk_path_t& cpath) {  in AsPath()  argument
166 return reinterpret_cast<const SkPath&>(cpath); in AsPath()
169 static SkPath* as_path(sk_path_t* cpath) { in as_path() argument
170 return reinterpret_cast<SkPath*>(cpath); in as_path()
263 void sk_path_delete(sk_path_t* cpath) { delete as_path(cpath); } in sk_path_delete() argument
265 void sk_path_move_to(sk_path_t* cpath, float x, float y) { in sk_path_move_to() argument
266 as_path(cpath)->moveTo(x, y); in sk_path_move_to()
269 void sk_path_line_to(sk_path_t* cpath, float x, float y) { in sk_path_line_to() argument
270 as_path(cpath)->lineTo(x, y); in sk_path_line_to()
273 void sk_path_quad_to(sk_path_t* cpath, float x0, float y0, float x1, float y1) { in sk_path_quad_to() argument
274 as_path(cpath)->quadTo(x0, y0, x1, y1); in sk_path_quad_to()
277 void sk_path_conic_to(sk_path_t* cpath, float x0, float y0, float x1, float y1, float w) { in sk_path_conic_to() argument
278 as_path(cpath)->conicTo(x0, y0, x1, y1, w); in sk_path_conic_to()
281 void sk_path_cubic_to(sk_path_t* cpath, float x0, float y0, float x1, float y1, float x2, float y2)… in sk_path_cubic_to() argument
282 as_path(cpath)->cubicTo(x0, y0, x1, y1, x2, y2); in sk_path_cubic_to()
285 void sk_path_close(sk_path_t* cpath) { in sk_path_close() argument
286 as_path(cpath)->close(); in sk_path_close()
289 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
294 as_path(cpath)->addRect(AsRect(*crect), dir); in sk_path_add_rect()
297 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
302 as_path(cpath)->addOval(AsRect(*crect), dir); in sk_path_add_oval()
305 bool sk_path_get_bounds(const sk_path_t* cpath, sk_rect_t* crect) { in sk_path_get_bounds() argument
306 const SkPath& path = AsPath(*cpath); in sk_path_get_bounds()
366 void sk_canvas_clip_path(sk_canvas_t* ccanvas, const sk_path_t* cpath) { in sk_canvas_clip_path() argument
367 AsCanvas(ccanvas)->clipPath(AsPath(*cpath)); in sk_canvas_clip_path()
387 void sk_canvas_draw_path(sk_canvas_t* ccanvas, const sk_path_t* cpath, const sk_paint_t* cpaint) { in sk_canvas_draw_path() argument
388 AsCanvas(ccanvas)->drawPath(AsPath(*cpath), AsPaint(*cpaint)); in sk_canvas_draw_path()