fortplot_pdf_mathtext_render Module

PDF mathtext rendering utilities



Subroutines

public subroutine draw_pdf_mathtext(this, x, y, text, font_size)

Draw text with mathematical notation

Arguments

Type IntentOptional Attributes Name
class(pdf_context_core), intent(inout) :: this
real(kind=wp), intent(in) :: x
real(kind=wp), intent(in) :: y
character(len=*), intent(in) :: text
real(kind=wp), intent(in), optional :: font_size

public subroutine render_mathtext_element_pdf(this, element, x_pos, baseline_y, base_font_size)

Render a single mathematical text element in PDF

Arguments

Type IntentOptional Attributes Name
class(pdf_context_core), intent(inout) :: this
type(mathtext_element_t), intent(in) :: element
real(kind=wp), intent(inout) :: x_pos
real(kind=wp), intent(in) :: baseline_y
real(kind=wp), intent(in) :: base_font_size