fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
calculate_mathtext_width_internal
Function
18 statements
Source File
fortplot_text_layout.f90
fortplot_text_layout
calculate_mathtext_width_internal
Contents
public recursive function calculate_mathtext_width_internal(elements, base_font_size) result(total_width)
Calculate total width of mathematical text elements
Arguments
Type
Intent
Optional
Attributes
Name
type(
mathtext_element_t
),
intent(in)
::
elements
(:)
real(kind=wp),
intent(in)
::
base_font_size
Return Value
integer