Searched refs:path_builder (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/experimental/c-api-example/ |
D | skia-c-example.c | 54 sk_pathbuilder_t* path_builder = sk_pathbuilder_new(); in draw() local 55 sk_pathbuilder_move_to(path_builder, 50.0f, 50.0f); in draw() 56 sk_pathbuilder_line_to(path_builder, 590.0f, 50.0f); in draw() 57 sk_pathbuilder_cubic_to(path_builder, -490.0f, 50.0f, 1130.0f, 430.0f, 50.0f, 430.0f); in draw() 58 sk_pathbuilder_line_to(path_builder, 590.0f, 430.0f); in draw() 60 sk_path_t* path = sk_pathbuilder_detach_path(path_builder); in draw() 71 sk_pathbuilder_delete(path_builder); in draw()
|
D | c.md | 75 sk_pathbuilder_t* path_builder = sk_pathbuilder_new(); 76 sk_pathbuilder_move_to(path_builder, 50.0f, 50.0f); 77 sk_pathbuilder_line_to(path_builder, 590.0f, 50.0f); 78 sk_pathbuilder_cubic_to(path_builder, -490.0f, 50.0f, 1130.0f, 430.0f, 50.0f, 430.0f); 79 sk_pathbuilder_line_to(path_builder, 590.0f, 430.0f); 81 sk_path_t* path = sk_pathbuilder_detach_path(path_builder); 92 sk_pathbuilder_delete(path_builder);
|