*/
SK_API bool sk_canvas_get_clip_device_bounds(sk_canvas_t* t, sk_irect_t* cbounds);
+/**
+ Draws a circle at cx, cy, with the specified radius and paint
+*/
+void sk_canvas_draw_circle (sk_canvas_t* ccanvas, float cx, float cy, float radius, const sk_paint_t* cpaint);
+
SK_C_PLUS_PLUS_END_GUARD
#endif
AsCanvas(ccanvas)->drawText(text, byteLength, x, y, *AsPaint(cpaint));
}
+void sk_canvas_draw_circle (sk_canvas_t* ccanvas, float cx, float cy, float radius, const sk_paint_t* cpaint)
+{
+ AsCanvas(ccanvas)->drawCircle(cx, cy, radius, *AsPaint(cpaint));
+}
+
void sk_canvas_draw_pos_text (sk_canvas_t* ccanvas, const char *text, size_t byteLength, const sk_point_t pos[], const sk_paint_t* cpaint)
{
AsCanvas(ccanvas)->drawPosText(text, byteLength, AsPoint(pos), *AsPaint(cpaint));
bool sk_canvas_get_clip_device_bounds(sk_canvas_t* ccanvas, sk_irect_t* cbounds) {
return AsCanvas(ccanvas)->getClipDeviceBounds(AsIRect(cbounds));
}
+