fortplot_spec_rendering Module

Native render path for spec_t values.

This module translates spec_t into the low-level render state used by the existing backends without routing through figure_t.

Delegates mark handling to fortplot_spec_mark_handlers and field rendering to fortplot_spec_field_rendering. Shared utilities live in fortplot_spec_rendering_utils.



Functions

public function spec_target_is_json(filename) result(is_json)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename

Return Value logical


Subroutines

public subroutine render_spec_to_file(spec, filename, status, rendered_state)

Arguments

Type IntentOptional Attributes Name
type(spec_t), intent(in) :: spec
character(len=*), intent(in) :: filename
integer, intent(out) :: status
type(figure_state_t), intent(out), optional :: rendered_state

public subroutine show_spec(spec, backend_name, blocking, rendered_state)

Arguments

Type IntentOptional Attributes Name
type(spec_t), intent(in) :: spec
character(len=*), intent(in), optional :: backend_name
logical, intent(in), optional :: blocking
type(figure_state_t), intent(out), optional :: rendered_state

public subroutine apply_spec_to_render_state(spec, state, plots, plot_count, status)

Arguments

Type IntentOptional Attributes Name
type(spec_t), intent(in) :: spec
type(figure_state_t), intent(inout) :: state
type(plot_data_t), intent(inout), allocatable :: plots(:)
integer, intent(inout) :: plot_count
integer, intent(out) :: status