natiny_render_circle_outline

C
void natiny_render_circle_outline(float cx, float cy, float radius, float thickness);

Draws a circle outline 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
thickness float Outline thickness

Example

C
natiny_window_bind(win);
natiny_render_set_color(natiny_color_from_hex("#FFFFFF"));
natiny_render_circle_outline(160.0f, 120.0f, 56.0f, 3.0f);
natiny_window_unbind();