fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
stb_scale_for_pixel_height
Function
10 statements
Source File
fortplot_stb_truetype.f90
fortplot_stb_truetype
stb_scale_for_pixel_height
Contents
public function stb_scale_for_pixel_height(font_info, pixel_height) result(scale)
Calculate scale factor for desired pixel height
Arguments
Type
Intent
Optional
Attributes
Name
type(
stb_fontinfo_t
),
intent(in)
::
font_info
real(kind=wp),
intent(in)
::
pixel_height
Return Value
real(kind=wp)