natiny_render_circle

C
void natiny_render_circle(float cx, float cy, float radius);

Draws a filled circle on the currently bound render target, using the current drawing color set by natiny_render_set_color().

Parameters

Name Type Description
cx float Center X position
cy float Center Y position
radius float Circle radius

Example

C
natiny_render_circle(160.0f, 120.0f, 48.0f);

Notes

  • Uses the current draw color on the current render target.