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.
| 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 |
Circle radius in pixels |
||
| real(kind=wp), | intent(in) | :: | r |
Circle radius in pixels |
||
| real(kind=wp), | intent(in) | :: | g |
Circle radius in pixels |
||
| real(kind=wp), | intent(in) | :: | b |
Circle radius in pixels |
||
| real(kind=wp), | intent(in) | :: | opacity |