Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: experimental/sk_surface.h

Issue 633183002: Implement C path functions (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Removed unused entry point Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | experimental/sk_surface.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/sk_surface.h
diff --git a/experimental/sk_surface.h b/experimental/sk_surface.h
index 4c597ce49a7ad10ce3aa45f8ff65b54b625d8db5..e170049a4bdef0e9a22e093eefb72b1e3f2de9ce 100644
--- a/experimental/sk_surface.h
+++ b/experimental/sk_surface.h
@@ -52,16 +52,17 @@ typedef struct {
typedef struct sk_path_t sk_path_t;
sk_path_t* sk_path_new();
+void sk_path_delete(sk_path_t*);
void sk_path_move_to(sk_path_t*, float x, float y);
void sk_path_line_to(sk_path_t*, float x, float y);
void sk_path_quad_to(sk_path_t*, float x0, float y0, float x1, float y1);
-void sk_path_get_bounds(const sk_path_t*, sk_rect_t*);
+void sk_path_close(sk_path_t*);
typedef struct sk_paint_t sk_paint_t;
sk_paint_t* sk_paint_new();
void sk_paint_delete(sk_paint_t*);
-bool sk_paint_is_antialias(sk_paint_t*);
+bool sk_paint_is_antialias(const sk_paint_t*);
void sk_paint_set_antialias(sk_paint_t*, bool);
sk_color_t sk_paint_get_color(const sk_paint_t*);
void sk_paint_set_color(sk_paint_t*, sk_color_t);
« no previous file with comments | « no previous file | experimental/sk_surface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698