render_text_to_image Subroutine

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

Render text to image using STB TrueType with UTF-8 support

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