Applies config_t values to figure_state_t for rendering.
Fill spec%config from built-in style. When force=.true., overrides any JSON-provided config. When force=.false. (default), only fills when absent.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | style_name | |||
| type(spec_t), | intent(inout) | :: | spec | |||
| real(kind=wp), | intent(in) | :: | dpi | |||
| logical, | intent(in), | optional | :: | force |
Translate config_t into figure_state_t fields.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(config_t), | intent(in) | :: | cfg | |||
| type(figure_state_t), | intent(inout) | :: | state |
Single source of truth for orient string -> position int.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | orient | |||
| integer, | intent(inout) | :: | position |
Convert Vega-Lite padding to figure_state_t margins.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(padding_t), | intent(in) | :: | pad | |||
| type(figure_state_t), | intent(inout) | :: | state | |||
| character(len=*), | intent(in), | optional | :: | autosize_type |