# rounded_annular_sector_path

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/pie_chart_engine/function-rounded_annular_sector_path/

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

```rust
fn rounded_annular_sector_path(center: ferroui_base::Point, inner: f64, outer: f64, start_degrees: f64, sweep_degrees: f64, corner_radius: f64, inverted: bool) -> Vec<PathCommand>
```

Rounded radial corners adapted from DoughnutGeometry.RoundedDraw. FerroUI
receives cubic arcs instead of a backend-specific ArcTo command. Full rings
remain exactly closed, and narrow wedges cap the corner before it can cross
the opposite radial edge.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/pie_chart_engine.rs#L738)

## Availability

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