Render text to image using STB TrueType with UTF-8 support
Type | Intent | Optional | 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 |