draw_circle_antialiased Subroutine

public subroutine draw_circle_antialiased(image_data, img_w, img_h, cx, cy, radius, r, g, b)

Draw filled circle with antialiasing

Renders a filled circle using distance-based antialiasing. Alpha values computed from exact distance to circle boundary. Used primarily for circular markers.

@param image_data Target image buffer @param img_w, img_h Image dimensions @param cx, cy Circle center coordinates @param radius Circle radius in pixels @param r, g, b Fill color components [0.0, 1.0]

Arguments

Type IntentOptional Attributes Name
integer(kind=1), intent(inout) :: image_data(:)
integer, intent(in) :: img_w
integer, intent(in) :: img_h
real(kind=wp), intent(in) :: cx
real(kind=wp), intent(in) :: cy
real(kind=wp), intent(in) :: radius
real(kind=wp), intent(in) :: r
real(kind=wp), intent(in) :: g
real(kind=wp), intent(in) :: b