Skip to main content

circle_coverage

Function circle_coverage 

Source
pub fn circle_coverage(dist: f32, radius: f32, aa: f32) -> f32
Expand description

Filled-disc coverage at a point dist pixels from the centre. α = 1 inside radius − aa, ramps to 0 by radius + aa.