Home
last modified time | relevance | path

Searched refs:sk_path_t (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/skia/include/c/
Dsk_path.h24 SK_API sk_path_t* sk_path_new(void);
26 SK_API void sk_path_delete(sk_path_t*);
29 SK_API void sk_path_move_to(sk_path_t*, float x, float y);
35 SK_API void sk_path_line_to(sk_path_t*, float x, float y);
42 SK_API void sk_path_quad_to(sk_path_t*, float x0, float y0, float x1, float y1);
49 SK_API void sk_path_conic_to(sk_path_t*, float x0, float y0, float x1, float y1, float w);
56 SK_API void sk_path_cubic_to(sk_path_t*,
64 SK_API void sk_path_close(sk_path_t*);
69 SK_API void sk_path_add_rect(sk_path_t*, const sk_rect_t*, sk_path_direction_t);
73 SK_API void sk_path_add_oval(sk_path_t*, const sk_rect_t*, sk_path_direction_t);
[all …]
Dsk_canvas.h92 SK_API void sk_canvas_clip_path(sk_canvas_t*, const sk_path_t*);
119 SK_API void sk_canvas_draw_path(sk_canvas_t*, const sk_path_t*, const sk_paint_t*);
Dsk_types.h195 typedef struct sk_path_t sk_path_t; typedef
/third_party/flutter/skia/src/c/
Dsk_surface.cpp93 static const SkPath& AsPath(const sk_path_t& cpath) { in AsPath()
97 static SkPath* as_path(sk_path_t* cpath) { in as_path()
176 sk_path_t* sk_path_new() { return (sk_path_t*)new SkPath; } in sk_path_new()
178 void sk_path_delete(sk_path_t* cpath) { delete as_path(cpath); } in sk_path_delete()
180 void sk_path_move_to(sk_path_t* cpath, float x, float y) { in sk_path_move_to()
184 void sk_path_line_to(sk_path_t* cpath, float x, float y) { in sk_path_line_to()
188 void sk_path_quad_to(sk_path_t* cpath, float x0, float y0, float x1, float y1) { in sk_path_quad_to()
192 void sk_path_conic_to(sk_path_t* cpath, float x0, float y0, float x1, float y1, float w) { in sk_path_conic_to()
196 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()
200 void sk_path_close(sk_path_t* cpath) { in sk_path_close()
[all …]
/third_party/skia/include/c/
Dsk_path.h83 SK_API sk_path_t* sk_pathbuilder_detach_path(sk_pathbuilder_t*);
88 SK_API sk_path_t* sk_pathbuilder_snapshot_path(sk_pathbuilder_t*);
91 SK_API void sk_path_delete(sk_path_t*);
98 SK_API bool sk_path_get_bounds(const sk_path_t*, sk_rect_t*);
Dsk_canvas.h92 SK_API void sk_canvas_clip_path(sk_canvas_t*, const sk_path_t*);
119 SK_API void sk_canvas_draw_path(sk_canvas_t*, const sk_path_t*, const sk_paint_t*);
Dsk_types.h195 typedef struct sk_path_t sk_path_t; typedef
/third_party/skia/src/c/
Dsk_surface.cpp93 static const SkPath& AsPath(const sk_path_t& cpath) { in AsPath()
101 static SkPath* as_path(sk_path_t* cpath) { in as_path()
226 sk_path_t* sk_pathbuilder_detach_path(sk_pathbuilder_t* cbuilder) { in sk_pathbuilder_detach_path()
227 return (sk_path_t*)(new SkPath(as_pathbuilder(cbuilder)->detach())); in sk_pathbuilder_detach_path()
230 sk_path_t* sk_pathbuilder_snapshot_path(sk_pathbuilder_t* cbuilder) { in sk_pathbuilder_snapshot_path()
231 return (sk_path_t*)(new SkPath(as_pathbuilder(cbuilder)->snapshot())); in sk_pathbuilder_snapshot_path()
236 void sk_path_delete(sk_path_t* cpath) { delete as_path(cpath); } in sk_path_delete()
238 bool sk_path_get_bounds(const sk_path_t* cpath, sk_rect_t* crect) { in sk_path_get_bounds()
299 void sk_canvas_clip_path(sk_canvas_t* ccanvas, const sk_path_t* cpath) { in sk_canvas_clip_path()
320 void sk_canvas_draw_path(sk_canvas_t* ccanvas, const sk_path_t* cpath, const sk_paint_t* cpaint) { in sk_canvas_draw_path()
/third_party/flutter/skia/experimental/c-api-example/
Dskia-c-example.c51 sk_path_t* path = sk_path_new(); in draw()
Dc.md74 sk_path_t* path = sk_path_new();
/third_party/skia/experimental/c-api-example/
Dskia-c-example.c60 sk_path_t* path = sk_pathbuilder_detach_path(path_builder); in draw()
Dc.md81 sk_path_t* path = sk_pathbuilder_detach_path(path_builder);