blur_amount_to_radius
function · ferroui-base · v0.5.0
fn blur_amount_to_radius(blur_amount: f64) -> f64
Converts the BlurAmount of a Win2D blur (the standard deviation of the
Gaussian, in device independent pixels) to the radius of the blur effect
of the drawing contexts, which both backends turn into a standard
deviation as 0.288675 * radius + 0.5. An amount of 0.5 or less is no
blur.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.