Scale a point-based pattern in place to device pixels, matching matplotlib: multiply each on/off length (points) by the line width (points), then convert points to pixels via px = pt * dpi / 72. The solid sentinel is left untouched.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(inout) | :: | pattern(20) | |||
| integer, | intent(in) | :: | pattern_size | |||
| real(kind=wp), | intent(in) | :: | dpi | |||
| real(kind=wp), | intent(in) | :: | line_width_pt |