# native_dash_pattern

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/paint/function-native_dash_pattern/

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

```rust
fn native_dash_pattern(dashes: &[f64], phase: f64, stroke_width: f64) -> Option<(Vec<f64>, f64)>
```

Converts source absolute dash lengths to FerroUI's pen-thickness units.

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

## Availability

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