Index: src/c/sk_surface.cpp |
diff --git a/src/c/sk_surface.cpp b/src/c/sk_surface.cpp |
index b8fbc63f63f4200457b28c8a8262dd320b0aae2b..6618881bc1e862bc98209b8fa9b26ab421039d28 100644 |
--- a/src/c/sk_surface.cpp |
+++ b/src/c/sk_surface.cpp |
@@ -375,6 +375,11 @@ void sk_canvas_draw_rect(sk_canvas_t* ccanvas, const sk_rect_t* crect, const sk_ |
AsCanvas(ccanvas)->drawRect(AsRect(*crect), AsPaint(*cpaint)); |
} |
+void sk_canvas_draw_circle(sk_canvas_t* ccanvas, float cx, float cy, float rad, |
+ const sk_paint_t* cpaint) { |
+ AsCanvas(ccanvas)->drawCircle(cx, cy, rad, AsPaint(*cpaint)); |
+} |
+ |
void sk_canvas_draw_oval(sk_canvas_t* ccanvas, const sk_rect_t* crect, const sk_paint_t* cpaint) { |
AsCanvas(ccanvas)->drawOval(AsRect(*crect), AsPaint(*cpaint)); |
} |