diff options
author | reed <reed@google.com> | 2016-02-09 13:25:51 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-09 13:25:51 -0800 |
commit | 4a7940bf5e4de6396fd48bbfdbf883e696b19b35 (patch) | |
tree | 25e2d4a37445ffd61acb9c613235e56fbb36a284 /include/c | |
parent | 0449bcfb2fa1dd33cb3a4c0c8b17960d17edf01a (diff) |
add drawCircle to c api
BUG=skia:4927
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1684763002
TBR=
Review URL: https://codereview.chromium.org/1684763002
Diffstat (limited to 'include/c')
-rw-r--r-- | include/c/sk_canvas.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/c/sk_canvas.h b/include/c/sk_canvas.h index f6c0d4e1c1..1e1dd24f99 100644 --- a/include/c/sk_canvas.h +++ b/include/c/sk_canvas.h @@ -103,6 +103,11 @@ SK_API void sk_canvas_draw_paint(sk_canvas_t*, const sk_paint_t*); */ SK_API void sk_canvas_draw_rect(sk_canvas_t*, const sk_rect_t*, const sk_paint_t*); /** + * Draw the circle centered at (cx, cy) with radius rad using the specified paint. + * The circle will be filled or framed based on the style in the paint + */ +SK_API void sk_canvas_draw_circle(sk_canvas_t*, float cx, float cy, float rad, const sk_paint_t*); +/** Draw the specified oval using the specified paint. The oval will be filled or framed based on the style in the paint */ |