render_text_with_size Subroutine

public subroutine render_text_with_size(image_data, width, height, x, y, text, r, g, b, pixel_height)

Render text with specific font size Supports mathematical notation with superscripts and subscripts

Arguments

Type IntentOptional Attributes Name
integer(kind=1), intent(inout) :: image_data(:)
integer, intent(in) :: width
integer, intent(in) :: height
integer, intent(in) :: x
integer, intent(in) :: y
character(len=*), intent(in) :: text
integer(kind=1), intent(in) :: r
integer(kind=1), intent(in) :: g
integer(kind=1), intent(in) :: b
real(kind=wp), intent(in) :: pixel_height