# blur_amount_to_radius

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/rendering/composition/effects/function-blur_amount_to_radius/

**function** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
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.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/effects/effect_graph.rs#L25)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
