render_text_to_bitmap_with_size Subroutine

public subroutine render_text_to_bitmap_with_size(bitmap, width, height, x0, y0, text, r, g, b, pixel_height)

Render text to an RGB bitmap using a given font size (pixel_height).

Arguments

Type IntentOptional Attributes Name
integer(kind=1), intent(inout) :: bitmap(:,:,:)
integer, intent(in) :: width
integer, intent(in) :: height
integer, intent(in) :: x0
integer, intent(in) :: y0
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