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(1.0f, 1.0f, 1.0f, 1.0f);
natiny_render_circle_outline(160.0f, 120.0f, 56.0f, 3.0f);
natiny_window_unbind();

Notes

  • Uses the color previously set by natiny_render_set_color(). The default is opaque white.
  • Draws to the render target most recently bound with natiny_window_bind() or natiny_surface_bind().