Draw circle outline with antialiasing
Renders a circular outline (ring) using distance-based antialiasing. Alpha computed from distance to the ideal circle boundary. Used for circle markers with edge-only rendering.
@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 Outline color components [0.0, 1.0]
Type | Intent | Optional | 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 |