fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
calculate_text_width
Function
27 statements
Source File
fortplot_text.f90
fortplot_text
calculate_text_width
Contents
public function calculate_text_width(text) result(width)
Calculate the pixel width of text using STB TrueType with UTF-8 support
Arguments
Type
Intent
Optional
Attributes
Name
character(len=*),
intent(in)
::
text
Return Value
integer